0 Replies Latest reply on Jun 6, 2007 3:26 PM by Luke Bishop

    Duplicate menuItems displayed when menuGroup used

    Luke Bishop Newbie

      When I add a rich:menuGroup the menuItems defined in the group are also displayed above the menuGroup label. I would expect the behavior
      to be to display only those menuItems inside the menuGroup (as the samples show). Do I have a configuration problem or is this a bug?

       <rich:toolBar>
      
       <rich:dropDownMenu value="Site">
       <rich:menuItem value="Go To Center 5700 Web" action="#{appHandler.redirectToCenterWeb}"/>
       <rich:menuItem value="Go To SNL Tech Web" action="#{appHandler.redirectToTechWeb}"/>
       <rich:menuSeparator/>
       <rich:menuItem value="About The Action Request System" action="go_help_about"/>
       </rich:dropDownMenu>
      
       <rich:dropDownMenu value="ActionRequest">
       <rich:menuItem value="Author Traveler" action="flowId:travelerview-flow">
       </rich:menuItem>
      
       </rich:dropDownMenu>
       <rich:dropDownMenu value="Search">
       <rich:menuItem value="Actel Programming" action="#{actelSearchHandler.init}"/>
       <rich:menuGroup id="componentAdditionGroup" value="Component Addition">
       <rich:menuItem value="Search Action Request System" action="#{componentAdditionHandler.createSearch}"/>
       <rich:menuItem value="Search Oracle System Items" action="#{componentAdditionHandler.createItemSearch}"/>
       </rich:menuGroup>
       <rich:menuGroup id="documentControlGroup" value="Document Control">
       <rich:menuItem value="Document Number" action="#{documentNumberSearchHandler.init}"></rich:menuItem>
       <rich:menuItem value="Document Release" action="#{documentReleaseSearchHandler.init}"></rich:menuItem>
       </rich:menuGroup>
       <rich:menuItem value="Engineering Change Order" action="#{changeOrderSearchHandler.init}"/>
       <rich:menuItem value="Failure Report" action="#{failureReportSearchHandler.init}"/>
      
       </rich:dropDownMenu>
      
       <rich:dropDownMenu value="Reports">
      
       <rich:menuItem value="Reports Page" action="go_reports"/>
       <rich:menuItem value="Traveler Summary Report" action="#{travelerHandler.travelerSummaryReportViewAction}" target="_blank"/>
      
       </rich:dropDownMenu>
      
       <rich:dropDownMenu value="Help">
       <rich:menuItem value="Online Help" onclick="javascript:openHelp('#{facesContext.externalContext.request.contextPath}/pages/help/ars.htm');"/>
       </rich:dropDownMenu>
      
       </rich:toolBar>