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

    DropDownMenu not displaying over simpleTogglePanel

    Bryan Tedesco Newbie


      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:

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

      Menu.xhtml is:

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