-
1. Re: multiple components in <rich:page> facets
sage.sam Mar 24, 2010 10:01 AM (in response to jgreene)When I started working with JSF/Seam (which wasn't alll that long ago!) I had the same question.
Here's what I've learned:
Facets are intended to be a very simple applique (if you will) to an existing component. They are an optional feature of that component. The facet will add its singular child to the parent. So, to answer your question, it's not really a bug or a feature -- it's just the intended use of this particular tag.
To go beyond this, you can use a ui:insert tag along with some basic ui:includes and templates.
-
2. Re: multiple components in <rich:page> facets
nbelaevski Mar 24, 2010 10:04 AM (in response to jgreene)1 of 1 people found this helpfulHi Joe,
In JSF facet can contain only one component. Use h:panelGroup as workaround.
-
3. Re: multiple components in <rich:page> facets
jgreene Mar 24, 2010 10:12 AM (in response to sage.sam)Thanks, David - Glad to know I didn't miss something simple. - Joe
-
4. Re: multiple components in <rich:page> facets
jgreene Mar 24, 2010 10:13 AM (in response to nbelaevski)Nick - Thank you for the reply. I will definitely try the panelGroup. - Joe