I'm trying to bind panels that generated from a xhtml file to a backing bean within an ui:repeat tag as following :
<ui:repeat value="#{home.wins}" var="pan">
<rich:panel binding="#{pan}">
<h:outputText value="1. #{pan} " />
</rich:panel>
</ui:repeat>public class Home {
private UIComponent[] wins;
public HomeLayout() {
wins = new HtmlPanel[6];
}
public UIComponent[] getWins() {
return wins;
}
public void setWins(UIComponent[] wins) {
this.wins = wins;
}
}