Name
UIForm
Synopsis
This class represents a form component. A
form component acts as a
container for other components, typically input components, and
ensures that input component children process input only when the
form they belong to is the submitted form. The default
rendererType
is
javax.faces.Form
.
Class name: |
javax.faces.component.UIForm |
Extends: |
javax.faces.component.UIComponentBase |
Implements: |
|
Fields
-
public static String COMPONENT_FAMILY
The component family:
javax.faces.Form
.-
public static String COMPONENT_TYPE
The component family:
javax.faces.Form
.
Constructor
-
public UIForm()
Creates a new instance.
Methods
-
public String getFamily()
Returns the component family ID.
-
public boolean isSubmitted()
Returns
true
if submitting this form triggered the current request.-
public void processDecodes(javax.faces.context.FacesContext context)
Call to the
decode()
method for this component to ensure that thesubmitted
property is set before decoding the children. If thesubmitted
property is set totrue
, callsgetFacetsAndChildren()
and then calls theprocessDecodes()
method on each returned facet and component.-
public void processUpdates(javax.faces.context.FacesContext context)
If the
submitted
property is set totrue
, callsgetFacetsAndChildren( )
and then calls theprocessUpdates()
method on each returned facet and component.-
public void processValidators(javax.faces.context.FacesContext context)
If the ...
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.