For example, I have a composite component like this:
...
<cc:implementation>
<h:outputText value="#{binding.label}" />
<h:outputText value="#{binding.value}" />
<cc:insertChildren/>
<h:outputText value="#{cc.some.stuff}" />
</cc:implementation>
and I want to use this component inside a four-columns panelGrid
as follows, such that every child or actual component inside my composite component gets placed in its own separate cell of the panelGrid
(so every instance of my CC would be a row):
<h:panelGrid columns="4">
<custom:myComponent blah="bla">
<foo:whatEverIwantHere />
</custom:myComponent>
</h:panelGrid>
But the problem is the entire custom:myComponent
gets rendered as a single cell of the panelGrid
, inside a single td
that is.
Any ideas? Thanks