1 Reply Latest reply on Dec 2, 2011 3:46 AM by Vitaliy Pavlov

    rich:menuItem can be dynamically populated?

    aboo salimon Newbie



      Can we use rich menu item dynamically like this:


        <ui:repeat value="#{menu.subCategories}" var="subCategory">

                                              <rich:menuItem submitMode="server" value="New"





      currently i am trying like this but it is not working in what i am expecting so kindly suggest me any idea.

        • 1. Re: rich:menuItem can be dynamically populated?
          Vitaliy Pavlov Novice

          Hi, aboo salimon


          You may use c:forEach (xmlns:c="http://java.sun.com/jsp/jstl/core")


          as sample:


          <rich:dropDownMenu name="reportmenu"


                                 mode="client" jointPoint="topLeft" direction="bottomLeft" id="cReportMenu">


                  <c:forEach var="subCategory" items="#{menu.subCategories}">

                      <rich:menuItem submitMode="server" value="New"