Top Inners Fields Constructors Methods
com.sun.faces.facelets.component

public Class UIRepeat

extends UINamingContainer
Class Inheritance
Static Imports
com.sun.faces.cdi.CdiUtils.createDataModel, com.sun.faces.facelets.tag.faces.ComponentSupport.restoreFullDescendantComponentDeltaStates, .ComponentSupport.restoreFullDescendantComponentStates, .ComponentSupport.restoreTransientDescendantComponentStates, .ComponentSupport.saveDescendantComponentStates, .ComponentSupport.saveDescendantInitialComponentStates, com.sun.faces.renderkit.RenderKitUtils.PredefinedPostbackParameter.BEHAVIOR_SOURCE_PARAM, com.sun.faces.util.Util.isNestedInIterator

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Field Summary

Modifier and TypeField and Description
private Integer
private transient StringBuffer
private Map<String, UIRepeat.SavedState>
public static final String
public static final String
private static final DataModel<E>
private Integer
private int
private Object
private transient DataModel<E>
private static final UIRepeat.SavedState
private Integer
private Integer
private transient Object
private transient Object
private Map<String, Object>
private Boolean
private Integer
private Integer
private Map<String, Object>
private Object
private String
private String
Inherited from jakarta.faces.component.UINamingContainer:
SEPARATOR_CHAR_PARAM_NAME

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
broadcast(FacesEvent
The FacesEvent to be broadcast
event
)

Overrides jakarta.faces.component.UIComponentBase.broadcast.

Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type.

private void
private void
private boolean
public void
encodeChildren(FacesContext
FacesContext for the response we are creating
faces
)

Overrides jakarta.faces.component.UIComponentBase.encodeChildren.

If our rendered property is true, render the child UIComponents of this UIComponent.

public Integer
private StringBuffer
private Map<String, UIRepeat.SavedState>
public String
getClientId(FacesContext
The FacesContext for the current request
faces
)

Overrides jakarta.faces.component.UIComponentBase.getClientId.

Return a client-side identifier for this component, generating one if necessary.

private DataModel<E>
public Integer
public String
getFamily()

Overrides jakarta.faces.component.UINamingContainer.getFamily.

Return the identifier of the component family to which this component belongs.

public Integer
public boolean
getRendersChildren()

Overrides jakarta.faces.component.UIComponentBase.getRendersChildren.

Return a flag indicating whether this component is responsible for rendering its child components.

public Integer
public Integer
public Object
public String
public String
private boolean
public boolean
invokeOnComponent(FacesContext
the FacesContext for the current request
faces
,
String
the client identifier of the component to be passed to the argument callback.
clientId
,
ContextCallback
an implementation of the Callback interface.
callback
)

Overrides jakarta.faces.component.UIComponentBase.invokeOnComponent.

Starting at this component in the View hierarchy, search for a component with a clientId equal to the argument clientId and, if found, call the ContextCallback#invokeContextCallback method on the argument callback, passing the current FacesContext and the found component as arguments.

private boolean
public boolean

Returns:

Whether row state is preserved.
isRowStatePreserved
()

Returns whether row state is preserved as per setRowStatePreserved(boolean).

private boolean
public void
markInitialState()

Overrides jakarta.faces.component.UIComponentBase.markInitialState.

Implements jakarta.faces.component.PartialStateHolder.markInitialState.

Override the base class method to take special action if the method is being invoked when StateManager#IS_BUILDING_INITIAL_STATE is true and the rowStatePreserved property for this instance is true.

public void
public void
processDecodes(FacesContext
FacesContext for the request we are processing
faces
)

Overrides jakarta.faces.component.UIComponentBase.processDecodes.

Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.

public void
processUpdates(FacesContext
FacesContext for the request we are processing
faces
)

Overrides jakarta.faces.component.UIComponentBase.processUpdates.

Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.

public void
processValidators(FacesContext
FacesContext for the request we are processing
faces
)

Overrides jakarta.faces.component.UIComponentBase.processValidators.

Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.

public void
queueEvent(FacesEvent
FacesEvent to be queued
event
)

Overrides jakarta.faces.component.UIComponentBase.queueEvent.

Queue an event for broadcast at the end of the current request processing lifecycle phase.

private void
private void
private boolean
private void
private void
private void
private void
private void
public void
restoreState(FacesContext
the Faces context.
faces
,
Object
the state.
object
)

Overrides jakarta.faces.component.UIComponentBase.restoreState.

Implements jakarta.faces.component.StateHolder.restoreState.

Perform any processing required to restore the state from the entries in the state Object.

private void
private void
public Object
saveState(FacesContext
the Faces context.
faces
)

Overrides jakarta.faces.component.UIComponentBase.saveState.

Implements jakarta.faces.component.StateHolder.saveState.

Gets the state of the instance as a Serializable Object.

public void
private void
public void
private void
setIndex(FacesContext ctx, int index)

public void
private void
private void
public void
setRowStatePreserved(boolean
Whether to preserve row state while rendering
rowStatePreserved
)

Boolean flag directing how the per-row component state of EditableValueHolder children should be handled across requests on the same view.

public void
public void
public void
public void
public void
setVarStatus(String varStatus)

private void
private void
validateIterationControlValues(int rowCount, int begin, int end)

private boolean
public boolean
visitTree(VisitContext
the VisitContext for this visit
context
,
VisitCallback
the VisitCallback instance whose visit method will be called for each node visited.
callback
)

Overrides jakarta.faces.component.UINamingContainer.visitTree.

Perform a tree visit starting at this node in the tree.

Inherited from jakarta.faces.component.UINamingContainer:
createUniqueIdgetSeparatorChar