0 Replies Latest reply on Apr 18, 2008 4:34 PM by Dmitry Shultz

    rich:comboBox inside of rich:panelMenu + rich:panelMenuItem

    Dmitry Shultz Novice

      rich:comboBox doesn't work almost in all browsers (works only in new Safari) if placed inside of rich:panelMenu + rich:panelMenuItem, - impossible to select anything.
      Possible a bug because all other components are ok.

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:s="http://jboss.com/products/seam/taglib"
       xmlns:a4j="http://richfaces.org/a4j"
       template="layout/template_test.xhtml">
      
       <ui:define name="body">
      
      
       <h:form id="params">
       <rich:panelMenu style="width:350px;">
       <rich:panelMenuGroup label="suggestions"
      expanded="true">
       <rich:panelMenuItem>
       <h:panelGrid columns="2" border="0">
      
       <h:outputText value="suggestion:"/>
      
       <rich:comboBox defaultLabel="Enter some value">
       <f:selectItem itemValue="suggestion 1"/>
       <f:selectItem itemValue="suggestion 2"/>
       <f:selectItem itemValue="suggestion 3"/>
       <f:selectItem itemValue="suggestion 4"/>
       </rich:comboBox>
       <h:outputText value="Location:"/>
       <h:outputText value="Vancouver"/>
       <h:outputText value="parameter:"/>
       <rich:inputNumberSlider value="2"
      maxValue="10" step="2"/>
       <h:outputText value="min:"/>
       <rich:inputNumberSlider value="100"
      maxValue="500" step="50"/>
      
       <h:outputText value="max:"/>
       <rich:inputNumberSlider value="500"
      maxValue="1000" step="50"/>
      
       </h:panelGrid>
       </rich:panelMenuItem>
      
       </rich:panelMenuGroup>
      
      
       </rich:panelMenu>
      
       </h:form>
       </ui:define>
      
      </ui:composition>