4 Replies Latest reply on Nov 15, 2007 5:04 PM by jippeh

    ui:repeat inside rich:dropDownMenu?

    jippeh Newbie

      Is it possible to use a ui:repeat inside a rich:dorpDownMenu to dynamically generate rich:menuitem components? The following code illustrates what I'm trying to do:

      <rich:dropDownMenu value="Blogs">
      <ui:repeat var="b25" value="#{home.config.blogsList}">
      <rich:menuItem submitMode="none">
      <h:outputLink value="/blog/#{b25.id}">
      <h:outputText value="#{b25.name}"/>
      </h:outputLink>
      </rich:menuItem>
      </ui:repeat>
      </rich:dropDownMenu>

      The rich:menuitems are not generated.