How to define the content of repeater inside composite through its interface?
I have a composite component with a ui:repeat and want to define the content of the ui:repeat through the interface of the composite. Following code is working in MyFaces but looks more like a hack since variable name varRepeat must be known outside of composite and it only works if no other childrens are provided that should be rendered somewhere else. View Define content of the ui:repeat <comp:myRepeater value="#{of:createIntegerArray(1,5)}"> <h:outputText id="varComp" value="#{varRepeat}"/> </comp:myRepeater> Composite myRepeater <composite:attribute name="value" type="java.lang.Object"/>