o

Tag viewAction

Component Information 
InfoValue
Component Typeorg.omnifaces.component.input.ViewAction
Handler ClassNone
Renderer TypeNone
DescriptionNone
Attributes 
NameRequiredTypeDescription
actionfalsejakarta.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.
actionListenerfalsejakarta.el.MethodExpression
(signature must match void actionListener(jakarta.faces.event.ActionEvent) )
MethodExpression representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void. In the latter case, the method has no way of easily knowing where the event came from, but this can be useful in cases where a notification is needed that "some action happened".
iffalsejakarta.el.ValueExpression
(must evaluate to boolean)
Invoke the application action only when this attribute evaluates true during the specified phase. The default is true.
immediatefalsejakarta.el.ValueExpression
(must evaluate to 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.
messagefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The message to send along with the redirect, if any.
onPostbackfalsejakarta.el.ValueExpression
(must evaluate to 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.
phasefalsejakarta.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.

Output generated by Vdldoc View Declaration Language Documentation Generator.