Faces Core
Tag viewAction


This action component specifies an application-specific command (or action), using an EL method expression, to be invoked during one of the JSF lifecycle phases, by default Invoke Application.



Tag Information
Tag Classjavax.faces.webapp.UIComponentClassicTagBase
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
actiontruefalsejavax.el.MethodExpression
(signature must match java.lang.Object action())

MethodExpression representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns an Object (the toString() of which is called to derive the logical outcome) which is passed to the NavigationHandler for this application.

onPostbackfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)

View actions are most commonly used on the initial view request. Therefore, view actions do not operate on postback, by default. This attribute enables a view action to operate on postback.

renderedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)

Like all children of <f:metadata>, a view action has no visual representation in the view. This attribute has exactly the same effect on a view action as the rendered attribute has on a visual component. Specifically, if the value of this attribute evaluates to false the component has no effect.

immediatefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Boolean)

Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.

phasefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)

Specifies the phase in which the action invocation should occur using the name of the phase constant in the PhaseId class (the case does not matter). The value must be one of APPLY_REQUEST_VALUES, PROCESS_VALIDATIONS, UPDATE_MODEL_VALUES, or INVOKE_APPLICATION. The default is INVOKE_APPLICATION.


Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator.