A client-side script that invokes a server-side action when called by some other client-side code using an asynchronous request. This control must be contained by a standard JavaServer Faces form.
You can download an article and an accompanying code sample describing how to work with the refresh
attribute of this control from the Software AG Community website:
Children
Control Parameter children are added as request parameters to the submitted form when the command is invoked.
Info | Value |
---|---|
Component Type | com.webmethods.caf.faces.command.async.Hidden |
Handler Class | None |
Renderer Type | com.webmethods.caf.faces.command.async.Hidden |
Description | Hidden command that invokes an action via asynchronous request |
Palette Location | CAF Html/Control/Command/Async Hidden Command |
Client-Side Model | CAF.Command.Model |
Name | Required | Type | Description |
---|---|---|---|
action | false | javax.el.MethodExpression
(signature must match java.lang.String action() )
| Action method binding |
actionListener | false | javax.el.MethodExpression
(signature must match void actionListener(javax.faces.event.ActionEvent) )
| Action listener method binding |
disabled | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True if control is grayed-out and un-modifiable
If not specified, the default value is "false". |
forms | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Id of form to submit (defaults to entire form); separate multiple control ids with commas |
id | false | java.lang.String | Control identifier |
immediate | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to process action listeners in the Apply Request Values phase; false to process in the Invoke Application phase
If not specified, the default value is "false". |
refresh | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Id of control to refresh (defaults to entire form) or "_none" to refresh nothing; separate multiple control ids with commas |
rendered | false | javax.el.ValueExpression
(must evaluate to boolean )
|
True to render control; false to ignore it
If not specified, the default value is "true". |
toggle | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Id of control to toggle; separate multiple control ids with commas |
Output generated by Vdldoc View Declaration Language Documentation Generator.