cc

Tag clientBehavior

Attributes 
NameRequiredTypeDescription
defaultfalsejakarta.el.ValueExpression
(must evaluate to boolean)
If the evaluated value of this attribute is true, the page author may omit the the "event" attribute when specifying the behavior in the using page. This is analogous to "action" being the default event for commandLink. The usage of this attribute assumes only one clientBehavior is declared in this composite component. If more than one is specified, only the first one is used in the case of a using page with no event attribute.
eventfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)

The evaluated value of this attribute will be passed as the first argument to the addClientBehavior() method on ClientBehaviorHolder.

nametruejakarta.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 <composite:implementation> to which the ActionListener should be mapped.

targetsfalsejakarta.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 <composite:implementation> section. Space is used as the delimiter for compatibility with the IDREFS and NMTOKENS data types from the XML Schema.