Declares that the
composite component whose contract is declared by the
<cc:interface>
in which this element is nested
exposes an implementation of ActionSource
suitable for use
as the target of attached objects in the using page.
Any attached objects suitable for implementations of
ActionSource
may be attached to the composite component.
Consider this excerpt from the using page:
The <f:actionListener>
elements on lines 4, 7, and 10
refer to the attached objects declared on lines 2, 3 and 4 below.
Most of the concepts from example content from <cc:valueHolder>
also applies in the case of
<cc:actionSource>
.
Please see <cc:interface>
for a usage
example.
Name | Required | Type | Description |
---|---|---|---|
name | true | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
The value of this attribute maps back to the "for" attribute on an attachable object
nested within a composite component. If the "targets" attribute is not specified,
this value also represents the component ID of the target component within the
that the |
targets | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
If present, this must be a space (not tab) separated list of client
ids (relative to the top level component) of components within
the |