4 Replies Latest reply on May 31, 2008 9:52 AM by francof

    rich:panelMenu simple question

      Hi,

      I have this menu on my page -

      <rich:panelMenu mode="server" width="140"
       iconExpandedGroup="disc" iconCollapsedGroup="chevron"
       iconGroupTopPosition="right" iconCollapsedTopPosition="right" >
       <rich:panelMenuGroup label="Maintain Codes" >
       <rich:panelMenuItem label="#{messages.burst_title}" action="/BurstList.xhtml" />
       <rich:panelMenuItem label="#{messages.carrier_title}" action="/CarrierList.xhtml" />
       </rich:panelMenuGroup>
       <rich:panelMenuGroup label="Browse Catalog"
       iconExpanded="disc" iconCollapsed="chevron" >
       </rich:panelMenuGroup>
       <rich:panelMenuGroup label="Administration"
       iconExpanded="disc" iconCollapsed="chevron" >
       <rich:panelMenuItem action="/UserList.xhtml" label="#{messages.user_title}" />
       </rich:panelMenuGroup>
       <rich:panelMenuGroup label="Reports"
       iconExpanded="disc" iconCollapsed="chevron" >
       </rich:panelMenuGroup>
      </rich:panelMenu>
      
      



      I have 2 problems if anyone can help.

      - When I click a panelMenuItem and invoke the page it calls, all my panelMenuGroups return to collapsed state, how do I keep it expanded?
      - Is there anywhere to collapse all previously expanded panelMenuGroups
      when a new panelMenuGroup is clicked.

      Thanks
      Franco