UIForm is a UIComponent that represents an input form to be presented to the
user, and whose child components represent (among other things) the
input fields to be included when the form is submitted.
By default, the rendererType property must be set to
"javax.faces.Form". This value can be changed by calling the
setRendererType() method.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | UIForm.PropertyKeys
Properties that are tracked by state saving. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_FAMILY
The standard component family for this component. |
| public static final String | COMPONENT_TYPE
The standard component type for this component. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a unique-id in this component-containerFacesContext context, String an optional seed value - e.g. based on the position of the component in the VDL-template seed)Implements javax. Generate an identifier for a component. |
| public String | getContainerClientId(FacesContext
the Faces context. context)Overrides javax. Override the |
| public String | getFamily()
Implements abstract javax. Return the identifier of the component family to which this component belongs. |
| public boolean | |
| public boolean | Returns: true if the form was submitted, false otherwise.Returns the current value
of the |
| public void | processDecodes(FacesContext
FacesContext for the request we are processingOverrides javax. Override |
| public void | processUpdates(FacesContext
FacesContext for the request we are processingOverrides javax. Override |
| public void | processValidators(FacesContext
FacesContext for the request we are processingOverrides javax. Override |
| public void | |
| public void | setSubmitted(boolean
the new value of the submitted flag. submitted)If
this |
| public boolean | visitTree(VisitContext
the context, VisitCallback VisitContext for this visitthe callback)VisitCallback instance
whose visit method will be called
for each node visited.Overrides javax. Perform a tree visit starting at this node in the tree. |
| COMPONENT_FAMILY | back to summary |
|---|---|
| public static final String COMPONENT_FAMILY The standard component family for this component. | |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE The standard component type for this component. | |
| UIForm | back to summary |
|---|---|
| public UIForm() Create a new | |
| createUniqueId | back to summary |
|---|---|
| public String createUniqueId(FacesContext context, String seed) Implements javax. Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
If the
| |
| getContainerClientId | back to summary |
|---|---|
| public String getContainerClientId(FacesContext context) Overrides javax. Override the
| |
| getFamily | back to summary |
|---|---|
| public String getFamily() Implements abstract javax. Doc from javax. Return the identifier of the component
family to which this component belongs. This identifier, in conjunction
with the value of the | |
| isPrependId | back to summary |
|---|---|
| public boolean isPrependId() Is the id prepended.
| |
| isSubmitted | back to summary |
|---|---|
| public boolean isSubmitted() Returns the current value
of the This property must be kept as a
transient property using the
| |
| processDecodes | back to summary |
|---|---|
| public void processDecodes(FacesContext context) Overrides javax. Override
| |
| processUpdates | back to summary |
|---|---|
| public void processUpdates(FacesContext context) Overrides javax. Override
| |
| processValidators | back to summary |
|---|---|
| public void processValidators(FacesContext context) Overrides javax. Override
| |
| setPrependId | back to summary |
|---|---|
| public void setPrependId(boolean prependId) | |
| setSubmitted | back to summary |
|---|---|
| public void setSubmitted(boolean submitted) If
this The value of a This property must be kept as a
transient property using the
| |
| visitTree | back to summary |
|---|---|
| public boolean visitTree(VisitContext context, VisitCallback callback) Overrides javax. Doc from javax. Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the
UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
UIComponent#visitTree
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final UIForm. | lastId
Last id vended by |
| public static final UIForm. | prependId
The prependId flag. |
| public static final UIForm. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UIForm. | |
| public static UIForm. |
| lastId | back to summary |
|---|---|
| public static final UIForm. Last id vended by | |
| prependId | back to summary |
|---|---|
| public static final UIForm. The prependId flag. | |
| submitted | back to summary |
|---|---|
| public static final UIForm. | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys() | |
| valueOf | back to summary |
|---|---|
| public static UIForm. | |
| values | back to summary |
|---|---|
| public static UIForm. | |