org.apache.myfaces.view.facelets.component
Class UIRepeat
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.view.facelets.component.UIRepeat
- All Implemented Interfaces:
- java.util.EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
@JSFComponent(name="ui:repeat",
defaultRendererType="facelets.ui.Repeat")
public class UIRepeat
- extends javax.faces.component.UIComponentBase
- implements javax.faces.component.NamingContainer
TODO: PartialStateSaving and pluginize this component!
Fields inherited from class javax.faces.component.UIComponent |
ATTRS_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 |
Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
UIRepeat
public UIRepeat()
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily
in class javax.faces.component.UIComponent
getOffset
@JSFProperty
public int getOffset()
setOffset
public void setOffset(int offset)
getSize
@JSFProperty
public int getSize()
setSize
public void setSize(int size)
getStep
@JSFProperty
public int getStep()
setStep
public void setStep(int step)
getVar
@JSFProperty
public java.lang.String getVar()
setVar
public void setVar(java.lang.String var)
getVarStatus
@JSFProperty
public java.lang.String getVarStatus()
setVarStatus
public void setVarStatus(java.lang.String varStatus)
getValue
@JSFProperty
public java.lang.Object getValue()
setValue
public void setValue(java.lang.Object value)
getContainerClientId
public java.lang.String getContainerClientId(javax.faces.context.FacesContext faces)
- Overrides:
getContainerClientId
in class javax.faces.component.UIComponent
getRowCount
public int getRowCount()
- Returns the rowCount of the underlying DataModel.
- Returns:
getIndex
public int getIndex()
- Returns the current index.
process
public void process(javax.faces.context.FacesContext faces,
javax.faces.event.PhaseId phase)
invokeOnComponent
public boolean invokeOnComponent(javax.faces.context.FacesContext faces,
java.lang.String clientId,
javax.faces.component.ContextCallback callback)
throws javax.faces.FacesException
- Overrides:
invokeOnComponent
in class javax.faces.component.UIComponentBase
- Throws:
javax.faces.FacesException
visitTree
public boolean visitTree(javax.faces.component.visit.VisitContext context,
javax.faces.component.visit.VisitCallback callback)
- Overrides:
visitTree
in class javax.faces.component.UIComponentBase
processDecodes
public void processDecodes(javax.faces.context.FacesContext faces)
- Overrides:
processDecodes
in class javax.faces.component.UIComponentBase
processUpdates
public void processUpdates(javax.faces.context.FacesContext faces)
- Overrides:
processUpdates
in class javax.faces.component.UIComponentBase
processValidators
public void processValidators(javax.faces.context.FacesContext faces)
- Overrides:
processValidators
in class javax.faces.component.UIComponentBase
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast
in class javax.faces.component.UIComponentBase
- Throws:
javax.faces.event.AbortProcessingException
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent
in class javax.faces.component.UIComponentBase
restoreState
public void restoreState(javax.faces.context.FacesContext faces,
java.lang.Object object)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UIComponentBase
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext faces)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UIComponentBase
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext faces)
throws java.io.IOException
- Overrides:
encodeChildren
in class javax.faces.component.UIComponentBase
- Throws:
java.io.IOException
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class javax.faces.component.UIComponentBase
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.