0 Replies Latest reply on May 27, 2009 2:26 PM by hdu

    Putting other items into a dropDownMenu

    hdu

      Is it possible to put other items into a dropDownMenu besides menuItem, menuGroup, and menuSeparator?

      I want to put a dropDownMenu entry that will display a popup (containing a datatable) on mouseover, that will line up neatly below like a menuItem, and still retain the highlighted label. I tried using a toolTip to achieve like effect, but the popup position depends on the mouse pointer, and once I mouseover the popup, the dropDownMenu label is no longer highlighted:

      <a4j:outputPanel>
      <rich:dropDownMenu>
      <f:facet name="label">
      <h:outputText value="Menu Item" />
      </f:facet>
      </rich:dropDownMenu>
      <rich:toolTip>
      <rich:dataTable>...</rich:dataTable>
      </rich:toolTip>
      </a4j:outputPanel>

      Thanks.