Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action. This actionListener will cause the value given by the "value" attribute to be set into the ValueExpression given by the "target" attribute.
The implementation of this tag creates a special
ActionListener
instance and registers it on
the
ActionSource
associated with our most
immediate surrounding
instance of a tag whose implementation class is a subclass of
UIComponentTag
. This tag creates no output
to the page
currently being created.
The ActionListener
instance
created and installed by
this tag has the following behavior and contract.
ActionListener
instance
the first time the component for this tag is createdName | Required | Type | Description |
---|---|---|---|
for | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
If present, this attribute refers to the value of one of the exposed attached objects within the composite component inside of which this tag is nested. |
target | true | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
ValueExpression that is the destination of the value attribute. |
value | true | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
ValueExpression to be stored as the value of the target attribute. |