1 Reply Latest reply on Aug 21, 2008 9:44 PM by wang baishi

    a4j:repeat and rich:panelMenuGroup can not work together

    wang baishi Newbie

      I want to use panel menu with iteration following is the code fragment:
      <rich:panelMenu mode="ajax" ....>
      <a4j:repeat var="menus" value="#{menusBean.mainMenus}">
      <rich:panelMenuGroup label="#{menus.name}">
      <rich:panelMenuItem label="menu item1"></rich:panelMenuItem>
      <rich:panelMenuItem label="menu item2"></rich:panelMenuItem>

      I always get error: class ...repeat can not cast to ...MenuItem.
      used ui:repeat instead of a4j:repeat or c:forEach instead of a4j:repeat
      I also can not get a error info.
      thanks. thanks.