2 Replies Latest reply on Jun 21, 2007 8:09 AM by bmant

    DropDownMenu not displaying over simpleTogglePanel

    bmant

      Hi,

      I'm having an issue with my page. I'm fairly new to RichFaces development and was wondering if anyone could provide assistance.

      When my dropDownMenu is expanded and the list of menuitems extends down, if there is a simpleTogglePanel below it on the page, the menu items are hidden by the toggle panel (this also occurs for tab panels). However it does not occur for panels and panel headers.

      I thought it had something to do with the rendering of children, so I tried wrapping the simpleTogglePanel in an <h:panelGroup> but that did not work.

      I'm using RichFaces 3.0.1, Seam 1.2.1, Facelets

      Here is a simplified example of what I'm trying to do, this is my template:

      ...
      <body>
      <rich:panel headerClass="title" bodyClass="body">
      
       <!-- Title -->
       <f:facet name="header">
       <ui:include src="title.xhtml" />
       </f:facet>
      
       <h:form rendered="#{identity.loggedIn}" styleClass="menu">
       <rich:toolBar>
       <ui:include src="menu.xhtml" />
       </rich:toolBar>
       </h:form>
      
       <rich:simpleTogglePanel switchType="client" label="Tester">
       Test toggle panel
       </rich:simpleTogglePanel>
      
       <!-- Body to be defined by each individual page -->
       <ui:insert name="body" />
      
      </rich:panel>
      </body>
      ...
      


      Menu.xhtml is:

      <ui:composition xmlns:rich="http://richfaces.ajax4jsf.org/rich"
       xmlns:s="http://jboss.com/products/seam/taglib"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html" >
      
       <rich:toolBarGroup location="left">
       <rich:dropDownMenu submitMode="none" value="File">
      
      ...<assorted menuitems and menugroups>
      
      




      Thanks,

      Bryan