Hai,
we are using Rich faces component.
We need dropdownmenu dynamically, i got the data from java program but did n't display in view?
I used the following codes,
<a4j:repeat value="#{MenuLists.items}" var="oCategory"> <rich:dropDownMenu> <f:facet name="label"> <h:panelGroup> <rich:spacer style="width:1px;height:16px;" styleClass="pic" /> <h:outputText style="width:1px;height:19px;vertical-align: middle;" styleClass="pic" value="#{oCategory.name}" /> </h:panelGroup> </f:facet> <a4j:repeat var="oModule" value="#{oCategory.module}"> <rich:menuGroup value="#{oModule.name}"> </rich:menuGroup> </a4j:repeat> </rich:dropDownMenu> </a4j:repeat>
c:forEach for facelets or binding for JSP.