Class DynaForm
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.primefaces.extensions.component.base.AbstractDynamicData
org.primefaces.extensions.component.dynaform.DynaForm
- All Implemented Interfaces:
- EventListener,- javax.faces.component.NamingContainer,- javax.faces.component.PartialStateHolder,- javax.faces.component.StateHolder,- javax.faces.component.TransientStateHolder,- javax.faces.component.UniqueIdVendor,- javax.faces.event.ComponentSystemEventListener,- javax.faces.event.FacesListener,- javax.faces.event.SystemEventListenerHolder,- org.primefaces.component.api.Widget
DynaForm component.- Since:
- 0.5
- Version:
- $Revision$
- Author:
- Oleg Varaksin / last modified by $Author$
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static enumProperties that are tracked by state saving.
- 
Field SummaryFieldsFields inherited from class org.primefaces.extensions.component.base.AbstractDynamicDatadataFields inherited from class javax.faces.component.UIComponentATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEYFields inherited from interface javax.faces.component.NamingContainerSEPARATOR_CHARFields inherited from interface org.primefaces.component.api.WidgetATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected static voidcheckModelInstance(Object value) protected KeyDataFinds instance ofKeyDataby corresponding key.getControlCell(String type) protected Map<String, UIDynaFormControl> getStyle()protected booleaninvokeOnChildren(javax.faces.context.FacesContext context, String clientId, javax.faces.component.ContextCallback callback) Searches a child component with the given clientId during invokeOnComponent() and invokes the callback on it if found.booleanbooleanprotected voidprocessChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) Processes children components during processDecodes(), processValidators(), processUpdates().saveState(javax.faces.context.FacesContext context) voidsetAutoSubmit(boolean autoSubmit) voidsetButtonBarPosition(String buttonBarPosition) voidsetColumnClasses(String columnClasses) voidsetOpenExtended(boolean openExtended) voidvoidsetStyleClass(String styleClass) voidsetWidgetVar(String widgetVar) protected booleanvisitChildren(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback) Visits children components during visitTree().Methods inherited from class org.primefaces.extensions.component.base.AbstractDynamicDatabroadcast, createUniqueId, exposeVar, getClientId, getContainerClientId, getData, getValue, getVar, getVarContainerId, invokeOnComponent, isNestedWithinIterator, preDecode, processDecodes, processFacets, processUpdates, processValidators, queueEvent, resetData, restoreDescendantState, restoreDescendantState, saveDescendantState, saveDescendantState, setData, setData, setId, setValue, setVar, setVarContainerId, visitTreeMethods inherited from class javax.faces.component.UIComponentBaseaddClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods inherited from class javax.faces.component.UIComponentencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.primefaces.component.api.WidgetresolveWidgetVar, resolveWidgetVar
- 
Field Details- 
COMPONENT_TYPE- See Also:
 
- 
COMPONENT_FAMILY- See Also:
 
 
- 
- 
Constructor Details- 
DynaFormpublic DynaForm()
 
- 
- 
Method Details- 
getFamily- Specified by:
- getFamilyin class- javax.faces.component.UIComponent
 
- 
getWidgetVar
- 
setWidgetVar
- 
isAutoSubmitpublic boolean isAutoSubmit()
- 
setAutoSubmitpublic void setAutoSubmit(boolean autoSubmit) 
- 
isOpenExtendedpublic boolean isOpenExtended()
- 
setOpenExtendedpublic void setOpenExtended(boolean openExtended) 
- 
getButtonBarPosition
- 
setButtonBarPosition
- 
setStyle
- 
getStyle
- 
setStyleClass
- 
getStyleClass
- 
setColumnClasses
- 
getColumnClasses
- 
getControlCell
- 
getControlCells
- 
checkModelInstance
- 
findDataDescription copied from class:AbstractDynamicDataFinds instance ofKeyDataby corresponding key.- Specified by:
- findDatain class- AbstractDynamicData
- Parameters:
- key- unique key
- Returns:
- KeyData found data
 
- 
processChildrenprotected void processChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId) Description copied from class:AbstractDynamicDataProcesses children components during processDecodes(), processValidators(), processUpdates().- Specified by:
- processChildrenin class- AbstractDynamicData
- Parameters:
- context- faces context- FacesContext
- phaseId- current JSF phase id
 
- 
visitChildrenprotected boolean visitChildren(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback) Description copied from class:AbstractDynamicDataVisits children components during visitTree().- Specified by:
- visitChildrenin class- AbstractDynamicData
- Parameters:
- context- visit context- VisitContext
- callback- visit callback- VisitCallback
- Returns:
- boolean true - indicates that the children's visit is complete (e.g. all components that need to be visited have been visited), false - otherwise.
 
- 
invokeOnChildrenprotected boolean invokeOnChildren(javax.faces.context.FacesContext context, String clientId, javax.faces.component.ContextCallback callback) Description copied from class:AbstractDynamicDataSearches a child component with the given clientId during invokeOnComponent() and invokes the callback on it if found.- Specified by:
- invokeOnChildrenin class- AbstractDynamicData
- Parameters:
- context- faces context- FacesContext
- clientId- client Id
- callback-- ContextCallback
- Returns:
- boolean true - child component was found, else - otherwise
 
- 
saveState- Specified by:
- saveStatein interface- javax.faces.component.StateHolder
- Overrides:
- saveStatein class- AbstractDynamicData
 
 
-