| |||||||
FRAMES NO FRAMES |
Declares that the composite component whose contract is declared by the <composite:interface>
in which this element is nested exposes an implementation of ValueHolder
suitable for use as the target of attached objects in the using page. Any attached objects suitable for implementations of ValueHolder
may be attached to the composite component. Consider this excerpt from the using page:
Line 2 refers to the <composite:valueHolder>
declaration on line 2 of foo.xhtml
:
It is possible to declare that a single <composite:valueHolder>
element should cause multiple components within the <composite:implementation>
section to be the targets of an attached object in the using page. Assuming the same using page excerpt as above, the revised PDL page is:
In this case, the "targets" attribute on the <composite:valueHolder>
element, on line 2 above, replaces the "name" attribute in the previous example. "targets" is a list of ids of components within the <composite:implementation>
section. In this case, "targets" refers to the <h:inputText>
components on lines 6 and 7 above.
Please see <composite:interface>
for a usage example.
Tag Information | |
Tag Class | None |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
name | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| If present, this must be the component id of a component within the |
targets | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| If present, this must be a space (not tab) separated list of component ids of components within the |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |