0 Replies Latest reply on Sep 6, 2011 10:08 AM by Swaps H

    Error in dynamic panelMenu

    Swaps H Newbie

      xhtml:

      <h:form id="form">

                      <rich:panelMenu style="width:200px"

                          itemMode="ajax" groupMode="ajax"

                          groupExpandedLeftIcon="triangleUp"

                          groupCollapsedLeftIcon="triangleDown"

                          topGroupExpandedRightIcon="chevronUp"

                          topGroupCollapsedRightIcon="chevronDown"

                          itemLeftIcon="disc"

                          itemChangeListener="#{panelMenuBean.updateCurrent}">

                          <c:forEach items="#{userRequestsVO.hashMapDateSorted}" var="list">

                          <rich:panelMenuGroup label="#{list.key}">

                              <c:forEach items="#{list.value}" var="item">

                                  <rich:panelMenuItem label="#{item.subject}"></rich:panelMenuItem>

                              </c:forEach>

                          </rich:panelMenuGroup>

                      </c:forEach>

                      </rich:panelMenu>

       

      </h:form>

       

      there are 3 key's in hashMapDateSorted and each key has atleast one value. But cannot see anything on the page, there is only one panelbar with no label, JS error 'undefined'

       

      I am using Richfaces 4.1.0, JSF2.0 , tomcat 7.0. attached the screenshot

       

      Pls help.