org.apache.myfaces.custom.subform
Class SubForm

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.custom.subform.AbstractSubForm
              extended by org.apache.myfaces.custom.subform.SubForm
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class SubForm
extends AbstractSubForm
implements javax.faces.component.NamingContainer


Nested Class Summary
protected static class SubForm.PropertyKeys
           
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
SubForm()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.Boolean getPreserveSubmittedValues()
          true|false - set to false if you submit other subforms and would like to have your subform reflecting any model update.
 void setPreserveSubmittedValues(java.lang.Boolean preserveSubmittedValues)
           
 
Methods inherited from class org.apache.myfaces.custom.subform.AbstractSubForm
isEmptyList, isPartialEnabled, isSubmitted, processDecodes, processUpdates, processValidators, queueEvent, setSubmitted
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final java.lang.String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

SubForm

public SubForm()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class AbstractSubForm

getPreserveSubmittedValues

public java.lang.Boolean getPreserveSubmittedValues()
Description copied from class: AbstractSubForm
true|false - set to false if you submit other subforms and would like to have your subform reflecting any model update. Default: true

Specified by:
getPreserveSubmittedValues in class AbstractSubForm
Returns:

setPreserveSubmittedValues

public void setPreserveSubmittedValues(java.lang.Boolean preserveSubmittedValues)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.