Hello everybody,
I am using a rich:toolbar in a composite component. To add additional menus I want to provide a facet. If the facet contains more than one element then no separator is rendered between them.
Can somebody explain me why? Is this a bug in RF or JSF impl? Or a feature?
My page:
<my:ownToolbar>
<f:facet name="menu">
<h:outputText value=" fromFacet1.1 "/>
<h:outputText value=" fromFacet1.2 "/>
</f:facet>
</my:ownToolbar>
My component:
<composite:interface>
<composite:facet name="menu" required="false" />
</composite:interface>
<composite:implementation>
<br/>
<rich:toolbar width="500px" height="22px" style="border:0px" itemSeparator="line">
<h:outputText value="firstItem"/>
<composite:renderFacet name="menu" required="false"/>
<h:outputText value="lastItem"/>
</rich:toolbar>
</composite:implementation>
I am using RF4.1.0 M2 and Mojarra 2.1.3.
I attached a WAR to reproduce the problem. Deploy it on Tomcat7 and call http://localhost:8080/testWebApp/index.xhtml