Class UIReload
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.internal.component.AbstractUIReload
org.apache.myfaces.tobago.component.UIReload
- All Implemented Interfaces:
- EventListener,- javax.faces.component.PartialStateHolder,- javax.faces.component.StateHolder,- javax.faces.component.TransientStateHolder,- javax.faces.event.ComponentSystemEventListener,- javax.faces.event.FacesListener,- javax.faces.event.SystemEventListenerHolder
Update the parent component
 <br/>
  WARNING <br/>
 <br/>
  This feature is preliminary and may be subject of change in later versions!  <br/>
 UIComponent class, generated from template 
component.stg with class
 ReloadTagDeclaration.- 
Field SummaryFieldsFields 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_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionTime in milliseconds after which the parent component is automatically reloaded.booleanFlag indicating that the update check should be performed immediately (that is, during Apply Request Values phase) rather than waiting until Render Response phase.booleanisUpdate()Is update required.voidrestoreState(javax.faces.context.FacesContext context, Object state) voidsetFrequency(Integer frequency) voidsetImmediate(boolean immediate) voidsetUpdate(boolean update) Methods inherited from class javax.faces.component.UIComponentBaseaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTreeMethods inherited from class javax.faces.component.UIComponentgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
- 
Field Details- 
COMPONENT_TYPE
- 
COMPONENT_FAMILY- See Also:
 
 
- 
- 
Constructor Details- 
UIReloadpublic UIReload()
 
- 
- 
Method Details- 
getFamily- Specified by:
- getFamilyin class- javax.faces.component.UIComponent
 
- 
isImmediatepublic boolean isImmediate()Flag indicating that the update check should be performed immediately (that is, during Apply Request Values phase) rather than waiting until Render Response phase.
 Default:true
- 
setImmediatepublic void setImmediate(boolean immediate) 
- 
isUpdatepublic boolean isUpdate()Is update required.
 Default:true- Specified by:
- isUpdatein class- AbstractUIReload
 
- 
setUpdatepublic void setUpdate(boolean update) 
- 
getFrequencyTime in milliseconds after which the parent component is automatically reloaded.
 Default:5000- Specified by:
- getFrequencyin class- AbstractUIReload
 
- 
setFrequency
- 
restoreState- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- javax.faces.component.UIComponentBase
 
 
-