4 Replies Latest reply on Jan 16, 2009 4:43 AM by Nemanja Radanovic

    panelMenu not rendered

    Nemanja Radanovic Newbie

      I am using panelMenu component with richfaces 3.2.2 and seam 2.1.
      Somethimes (5-10% of cases) menu is not rendered at all. Problem is reported in both Firefox 3 and IE 7 but it seems happen more frequently in IE.
      Am I using panelMenu in wrong way? Maybe because I use panelMenuItem as child component of panelMenu instead od panelMenuGroup?

      Samle code looks like this:

      <rich:panelMenu
       id="leftPanelMenu"
       binding="#{sideBarMenuHandler.menu}"
       iconExpandedGroup="/graphics/arrow_on.gif"
       iconCollapsedGroup="/graphics/arrow_off.gif"
       iconExpandedTopGroup="/graphics/arrow_on.gif"
       iconCollapsedTopGroup="/graphics/arrow_off.gif"
       iconGroupPosition="right"
       iconGroupTopPosition="right"
       iconItemPosition="none"
       iconItemTopPosition="right"
       expandSingle="true"
       immediate="true"
       required="true"
       style="width:165px"
       styleClass="leftPanelMenu"
       topItemClass="leftPanelMenu-top-item"
       itemClass="leftPanelMenu-item"
       topGroupClass="leftPanelMenu-top-group"
       groupClass="leftPanelMenu-group"
       hoveredItemClass="leftPanelMenu-item-selected"
       iconClass="leftPanelMenu-item-icon"
       selectClass="leftPanelMenu-selected-item"
       >
      
       <rich:panelMenuItem
       id="leftPanelMenu_home"
       name="home"
       icon="none"
       styleClass="dr-pmenu-top-group"
       >
       <s:link
       onclick="#{rich:component('modalwindow')}.show()"
       view="/reports/home.xhtml"
       value="#{messages.homepage}"
       styleClass="leftPanelMenu-link"
       />
       </rich:panelMenuItem>
      
      
       <rich:panelMenuGroup
       id="leftPanelMenu_standardReports"
       label="#{messages.standard_reports}"
       iconExpanded="/graphics/arrow_on.gif"
       iconCollapsed="/graphics/arrow_off.gif"
       iconCollapsedPosition="left"
       >
       <rich:panelMenuGroup
       id="leftPanelMenu_ticketInfo"
       label="#{messages.ticketing_information}"
       iconExpanded="triangleDown"
       iconCollapsed="triangle"
       iconPosition="right"
       >
       <rich:panelMenuItem
       id="leftPanelMenu_eventSummary"
       styleClass="thirdItem"
       >
       <s:link
       view="/reports/standard/event-summary.xhtml"
       onclick="#{rich:component('modalwindow')}.show()"
       value="#{messages.event_summary_report}"
       styleClass="leftPanelMenu-link"
       />
       <rich:toolTip showDelay="500" value="#{messages.event_summary_tooltip}" horizontalOffset="20">
       </rich:toolTip>
       </rich:panelMenuItem>