Represents an HTML form element. Child input components will be submitted unless they have been
disabled.
By default, the rendererType property must be set to "jakarta.faces.Form". This value can
be changed by calling the setRendererType() method.
| Modifier and Type | Class and Description |
|---|---|
| protected static enum | HtmlForm.PropertyKeys
Properties used by this component |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_TYPE
Hides jakarta. The standard component type for this component. |
| private static final Collection | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the property valueContents: List of content types that a server processing this form will handle correctly
Return the value of the |
| public String | Returns: the property valueContents: List of character encodings for input data that are accepted by the server processing this form.
Return the value of the |
| public String | getDefaultEventName()
Overrides jakarta. Implements jakarta.
Returns the default event name for this |
| public String | Returns: the property valueContents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct case.
Return the value of the |
| public String | Returns: the property valueContents: Content type used to submit the form to the server. If not specified, the default value is "application/x-www-form-urlencoded".
Return the value of the |
| public Collection | getEventNames()
Overrides jakarta. Implements jakarta.
Returns a non-null, unmodifiable |
| public String | Returns: the property valueContents: Code describing the language used in the generated markup for this component.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is clicked over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is double clicked over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is pressed down over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is pressed and released over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is released over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is pressed down over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved within this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved away from this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved onto this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is released over this element.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when this form is reset.
Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when this form is submitted.
Return the value of the |
| public String | Returns: the property valueContents: Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or an EL Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to. It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute.
Return the value of the |
| public String | Returns: the property valueContents: CSS style(s) to be applied when this component is rendered.
Return the value of the |
| public String | Returns: the property valueContents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
Return the value of the |
| public String | Returns: the property valueContents: Name of a frame where the response retrieved after this form submit is to be displayed.
Return the value of the |
| public String | Returns: the property valueContents: Advisory title information about markup elements generated for this component.
Return the value of the |
| private void | |
| public void | |
| public void | setAcceptcharset(String
the new property value acceptcharset)
Set the value of the |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE Hides jakarta. The standard component type for this component. | |
| EVENT_NAMES | back to summary |
|---|---|
| private static final Collection<String> EVENT_NAMES | |
| OPTIMIZED_PACKAGE | back to summary |
|---|---|
| private static final String OPTIMIZED_PACKAGE | |
| HtmlForm | back to summary |
|---|---|
| public HtmlForm() | |
| getAccept | back to summary |
|---|---|
| public String getAccept()
Return the value of the
| |
| getAcceptcharset | back to summary |
|---|---|
| public String getAcceptcharset()
Return the value of the
| |
| getDefaultEventName | back to summary |
|---|---|
| public String getDefaultEventName() Overrides jakarta. Implements jakarta. Doc from jakarta.
Returns the default event name for this | |
| getDir | back to summary |
|---|---|
| public String getDir()
Return the value of the
| |
| getEnctype | back to summary |
|---|---|
| public String getEnctype()
Return the value of the
| |
| getEventNames | back to summary |
|---|---|
| public Collection Overrides jakarta. Implements jakarta. Doc from jakarta.
Returns a non-null, unmodifiable
| |
| getLang | back to summary |
|---|---|
| public String getLang()
Return the value of the
| |
| getOnclick | back to summary |
|---|---|
| public String getOnclick()
Return the value of the
| |
| getOndblclick | back to summary |
|---|---|
| public String getOndblclick()
Return the value of the
| |
| getOnkeydown | back to summary |
|---|---|
| public String getOnkeydown()
Return the value of the
| |
| getOnkeypress | back to summary |
|---|---|
| public String getOnkeypress()
Return the value of the
| |
| getOnkeyup | back to summary |
|---|---|
| public String getOnkeyup()
Return the value of the
| |
| getOnmousedown | back to summary |
|---|---|
| public String getOnmousedown()
Return the value of the
| |
| getOnmousemove | back to summary |
|---|---|
| public String getOnmousemove()
Return the value of the
| |
| getOnmouseout | back to summary |
|---|---|
| public String getOnmouseout()
Return the value of the
| |
| getOnmouseover | back to summary |
|---|---|
| public String getOnmouseover()
Return the value of the
| |
| getOnmouseup | back to summary |
|---|---|
| public String getOnmouseup()
Return the value of the
| |
| getOnreset | back to summary |
|---|---|
| public String getOnreset()
Return the value of the
| |
| getOnsubmit | back to summary |
|---|---|
| public String getOnsubmit()
Return the value of the
| |
| getRole | back to summary |
|---|---|
| public String getRole()
Return the value of the
| |
| getStyle | back to summary |
|---|---|
| public String getStyle()
Return the value of the
| |
| getStyleClass | back to summary |
|---|---|
| public String getStyleClass()
Return the value of the
| |
| getTarget | back to summary |
|---|---|
| public String getTarget()
Return the value of the
| |
| getTitle | back to summary |
|---|---|
| public String getTitle()
Return the value of the
| |
| handleAttribute | back to summary |
|---|---|
| private void handleAttribute(String name, Object value) | |
| setAccept | back to summary |
|---|---|
| public void setAccept(String accept)
Set the value of the
| |
| setAcceptcharset | back to summary |
|---|---|
| public void setAcceptcharset(String acceptcharset)
Set the value of the
| |
| setDir | back to summary |
|---|---|
| public void setDir(String dir)
Set the value of the
| |
| setEnctype | back to summary |
|---|---|
| public void setEnctype(String enctype)
Set the value of the
| |
| setLang | back to summary |
|---|---|
| public void setLang(String lang)
Set the value of the
| |
| setOnclick | back to summary |
|---|---|
| public void setOnclick(String onclick)
Set the value of the
| |
| setOndblclick | back to summary |
|---|---|
| public void setOndblclick(String ondblclick)
Set the value of the
| |
| setOnkeydown | back to summary |
|---|---|
| public void setOnkeydown(String onkeydown)
Set the value of the
| |
| setOnkeypress | back to summary |
|---|---|
| public void setOnkeypress(String onkeypress)
Set the value of the
| |
| setOnkeyup | back to summary |
|---|---|
| public void setOnkeyup(String onkeyup)
Set the value of the
| |
| setOnmousedown | back to summary |
|---|---|
| public void setOnmousedown(String onmousedown)
Set the value of the
| |
| setOnmousemove | back to summary |
|---|---|
| public void setOnmousemove(String onmousemove)
Set the value of the
| |
| setOnmouseout | back to summary |
|---|---|
| public void setOnmouseout(String onmouseout)
Set the value of the
| |
| setOnmouseover | back to summary |
|---|---|
| public void setOnmouseover(String onmouseover)
Set the value of the
| |
| setOnmouseup | back to summary |
|---|---|
| public void setOnmouseup(String onmouseup)
Set the value of the
| |
| setOnreset | back to summary |
|---|---|
| public void setOnreset(String onreset)
Set the value of the
| |
| setOnsubmit | back to summary |
|---|---|
| public void setOnsubmit(String onsubmit)
Set the value of the
| |
| setRole | back to summary |
|---|---|
| public void setRole(String role)
Set the value of the
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(String style)
Set the value of the
| |
| setStyleClass | back to summary |
|---|---|
| public void setStyleClass(String styleClass)
Set the value of the
| |
| setTarget | back to summary |
|---|---|
| public void setTarget(String target)
Set the value of the
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title)
Set the value of the
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| public static final HtmlForm. | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. |
| public static HtmlForm. | |
| public static HtmlForm. |
| accept | back to summary |
|---|---|
| public static final HtmlForm. | |
| acceptcharset | back to summary |
|---|---|
| public static final HtmlForm. | |
| dir | back to summary |
|---|---|
| public static final HtmlForm. | |
| enctype | back to summary |
|---|---|
| public static final HtmlForm. | |
| lang | back to summary |
|---|---|
| public static final HtmlForm. | |
| onclick | back to summary |
|---|---|
| public static final HtmlForm. | |
| ondblclick | back to summary |
|---|---|
| public static final HtmlForm. | |
| onkeydown | back to summary |
|---|---|
| public static final HtmlForm. | |
| onkeypress | back to summary |
|---|---|
| public static final HtmlForm. | |
| onkeyup | back to summary |
|---|---|
| public static final HtmlForm. | |
| onmousedown | back to summary |
|---|---|
| public static final HtmlForm. | |
| onmousemove | back to summary |
|---|---|
| public static final HtmlForm. | |
| onmouseout | back to summary |
|---|---|
| public static final HtmlForm. | |
| onmouseover | back to summary |
|---|---|
| public static final HtmlForm. | |
| onmouseup | back to summary |
|---|---|
| public static final HtmlForm. | |
| onreset | back to summary |
|---|---|
| public static final HtmlForm. | |
| onsubmit | back to summary |
|---|---|
| public static final HtmlForm. | |
| role | back to summary |
|---|---|
| public static final HtmlForm. | |
| style | back to summary |
|---|---|
| public static final HtmlForm. | |
| styleClass | back to summary |
|---|---|
| public static final HtmlForm. | |
| target | back to summary |
|---|---|
| public static final HtmlForm. | |
| title | back to summary |
|---|---|
| public static final HtmlForm. | |
| toString | back to summary |
|---|---|
| pack-priv String toString | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys(String toString) | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static HtmlForm. | |
| values | back to summary |
|---|---|
| public static HtmlForm. | |