[jsr-314-open] composite:insertFacet target facet name
Ed Burns
Ed.Burns at Sun.COM
Wed Sep 16 13:59:57 EDT 2009
>>>>> On Tue, 15 Sep 2009 19:29:22 -0400, Andy Schwartz <andy.schwartz at oracle.com> said:
AS> Gang -
AS> As currently specified, composite:insertFacet's "name" attribute serves
AS> two purposes:
AS> 1. It identifies the name of the facet on the containing composite
AS> component to insert.
AS> 2. It identifies the name of the facet on the target component into
AS> which the facet is being inserted.
[...]
AS> 1. Add an attribute to composite:insertFacet that allows a target facet
AS> name to be specified:
AS> <h:panelGrid>
AS> <composite:insertFacet name="backupCaption" targetName="caption"/>
AS> </h:panelGrid>
AS> 2. Specify that the target facet name can be picked up from a wrapping
AS> <f:facet> tag:
AS> <h:panelGrid>
AS> <f:facet name="caption">
AS> <composite:insertFacet name="backupCaption"/>
AS> </f:facet>
AS> </h:panelGrid>
AS> I prefer #2 since is consistent with typical facet usage.
I happen to prefer #1, but everyone else favors #2, we'll go with #2.
Andy, can you please file a spec issue and share the number with the
group? Once you have it, I'll add an entry in the changelog wiki.
Ed
--
| ed.burns at sun.com | office: 408 884 9519 OR x31640
| homepage: | http://ridingthecrest.com/
More information about the jsr-314-open-mirror
mailing list