public interface ActionSource2 extends ActionSource
ActionSource2 extends ActionSource and provides a JavaBeans
"action" property. The type of this property is a MethodExpression.
This allows the ActionSource concept to leverage the Jakarta Expression Language API.
| Modifier and Type | Method and Description |
|---|---|
MethodExpression |
getActionExpression()
Return the
MethodExpression pointing at the application action to be invoked, if this UIComponent is
activated by the user, during the Apply Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate property. |
void |
setActionExpression(MethodExpression action)
Set the
MethodExpression pointing at the appication action to be invoked, if this UIComponent is
activated by the user, during the Apply Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate property. |
addActionListener, getActionListeners, isImmediate, removeActionListener, setImmediateMethodExpression getActionExpression()
Return the MethodExpression pointing at the application action to be invoked, if this UIComponent is
activated by the user, during the Apply Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate property.
void setActionExpression(MethodExpression action)
Set the MethodExpression pointing at the appication action to be invoked, if this UIComponent is
activated by the user, during the Apply Request Values or Invoke Application phase of the request
processing lifecycle, depending on the value of the immediate property.
Any method referenced by such an expression must be public, with a return type of String, and accept no
parameters.
action - The new method expression