2 Replies Latest reply on Jul 7, 2008 11:51 AM by Saravanan Vijayappan

    dropDownMenu Items are not working in Firefox

    Saravanan Vijayappan Newbie

      Hi,

      I am using facelets1.2, rich-faces 3.2.1 GA and JSF RI 1.2.07 in my project. I am trying to create a drop down Menu using rich faces components.

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html">
      
      <ui:composition>
      
       <style>
       .pic {
       margin-bottom: -4px;
       margin-right: 2px;
       }
       </style>
      <h:form>
      <rich:toolBar itemSeparator="line">
       <rich:toolBarGroup itemSeparator="none">
       <rich:dropDownMenu>
       <f:facet name="label">
       <h:panelGroup>
       <h:graphicImage value="/images/icons/copy.gif" styleClass="pic"/>
       <h:outputText value="File"/>
       </h:panelGroup>
       </f:facet>
       <rich:menuItem submitMode="ajax" value="Laptop" ajaxSingle="true"></rich:menuItem>
       <rich:menuItem submitMode="ajax" value="Desktop" ajaxSingle="true"></rich:menuItem>
       <rich:menuItem submitMode="ajax" value="Servers" ajaxSingle="true"></rich:menuItem>
       </rich:dropDownMenu>
       </rich:toolBarGroup>
      </rich:toolBar>
      </h:form>
      </ui:composition>
      </html>


      The menu items : Laptop, Desktop, Servers are not coming from the menu drop down menu in firefox/safari browsers and no errors. Also, it works fine in IE browser. Could anyone help me how should it be fixed to work in Firefox/safari browsers (Or) this is bug in rich faces drop down Menu ?

      Thanks
      Sarav