Hello,
I realize that dropDownMenu is still in development, but I thought i would post this problem I am having:
if I use nested a:repeat to build the menu then only the top items are rendered.
ex:
<h:form> <rich:toolBar> <a:repeat value="#{menuNodeList}" var="node"> <rich:toolBarGroup> <rich:dropDownMenu event="onmouseover" value="#{node.label}"> <a:repeat value="#{node.children}" var="child1"> <rich:menuItem value="#{child1.label}" /> </a:repeat> </rich:dropDownMenu> </rich:toolBarGroup> </a:repeat> </rich:toolBar> </h:form>
public class MenuNode { private String label; private String viewId; private List<MenuNode> children = new ArrayList<MenuNode> (); ... getters and setters ... }
Actually, we are done with dropDownMenu development already.
If you have a facelets, you can use forEach tag, but not any kind of *:repeat component . See my post at : http://jboss.com/index.html?module=bb&op=viewtopic&t=106113