Represents an HTML script element for a function that acts
like an ajax form submit. This component must be placed inside
a form, and requires JavaScript to be enabled in the client.
By default, the rendererType property must be set to "javax.faces.Script".
This value can be changed by calling the setRendererType() method.
| Modifier and Type | Class and Description |
|---|---|
| protected static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_TYPE
Hides javax. The standard component type for this component. |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the property valueContents: This is a space separated list of client identifiers of components
that will participate in the "execute" portion of the Request Processing Lifecycle.
If a literal is specified the identifiers must be space delimited.
Any of the keywords "@this", "@form", "@all", "@none" may be specified in the identifier list.
If not specified, the default value of "@this" is assumed.
For example, Return the value of the |
| public String | Returns: the property valueContents: Name of JavaScript function to be declared, e.g. Return the value of the |
| public String | Returns: the property valueContents: The name of the JavaScript function that will handle errors. Return the value of the |
| public String | Returns: the property valueContents: The name of the JavaScript function that will handle UI events. Return the value of the |
| public String | Returns: the property valueContents: This is a space separated list of client identifiers of components
that will participate in the "render" portion of the Request Processing Lifecycle.
If a literal is specified the identifiers must be space delimited.
Any of the keywords "@this", "@form", "@all", "@none" may be specified in the identifier list.
If not specified, the default value of "@none" is assumed.
For example, Return the value of the |
| public Boolean | Returns: the property valueContents: Reset specific input values.
Interpret the value of the Return the value of the |
| private void | |
| public boolean | Returns: the property valueContents: Whether to execute declared JavaScript function during Return the value of the |
| 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 javax. The standard component type for this component. | |
| OPTIMIZED_PACKAGE | back to summary |
|---|---|
| private static final String OPTIMIZED_PACKAGE | |
| HtmlCommandScript | back to summary |
|---|---|
| public HtmlCommandScript() | |
| getExecute | back to summary |
|---|---|
| public String getExecute() Return the value of the
| |
| getName | back to summary |
|---|---|
| public String getName() Return the value of the
| |
| getOnerror | back to summary |
|---|---|
| public String getOnerror() Return the value of the
| |
| getOnevent | back to summary |
|---|---|
| public String getOnevent() Return the value of the
| |
| getRender | back to summary |
|---|---|
| public String getRender() Return the value of the
| |
| getResetValues | back to summary |
|---|---|
| public Boolean getResetValues() Return the value of the
| |
| handleAttribute | back to summary |
|---|---|
| private void handleAttribute(String name, Object value) | |
| isAutorun | back to summary |
|---|---|
| public boolean isAutorun() Return the value of the
| |
| setAutorun | back to summary |
|---|---|
| public void setAutorun(boolean autorun) Set the value of the
| |
| setExecute | back to summary |
|---|---|
| public void setExecute(String execute) Set the value of the
| |
| setName | back to summary |
|---|---|
| public void setName(String name) Set the value of the
| |
| setOnerror | back to summary |
|---|---|
| public void setOnerror(String onerror) Set the value of the
| |
| setOnevent | back to summary |
|---|---|
| public void setOnevent(String onevent) Set the value of the
| |
| setRender | back to summary |
|---|---|
| public void setRender(String render) Set the value of the
| |
| setResetValues | back to summary |
|---|---|
| public void setResetValues(Boolean resetValues) Set the value of the
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final HtmlCommandScript. | |
| public static final HtmlCommandScript. | |
| public static final HtmlCommandScript. | name
Hides java. |
| public static final HtmlCommandScript. | |
| public static final HtmlCommandScript. | |
| public static final HtmlCommandScript. | |
| public static final HtmlCommandScript. | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. |
| public static HtmlCommandScript. | |
| public static HtmlCommandScript. |
| autorun | back to summary |
|---|---|
| public static final HtmlCommandScript. | |
| execute | back to summary |
|---|---|
| public static final HtmlCommandScript. | |
| name | back to summary |
|---|---|
| public static final HtmlCommandScript. Hides java. | |
| onerror | back to summary |
|---|---|
| public static final HtmlCommandScript. | |
| onevent | back to summary |
|---|---|
| public static final HtmlCommandScript. | |
| render | back to summary |
|---|---|
| public static final HtmlCommandScript. | |
| resetValues | back to summary |
|---|---|
| public static final HtmlCommandScript. | |
| 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 HtmlCommandScript. | |
| values | back to summary |
|---|---|
| public static HtmlCommandScript. | |