0 Replies Latest reply on Jul 4, 2008 8:54 AM by Saravanan Vijayappan

    The menu items are not coming from the menu drop down - fire

    Saravanan Vijayappan Newbie

      Hi,

      I am using facelets1.2, rich-faces 3.2.1 GA and JSF RI 1.2.07 in my application. I am trying to create a top menu bar 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="New" ajaxSingle="true"></rich:menuItem>
       </rich:dropDownMenu>
       </rich:toolBarGroup>
      </rich:toolBar>
      </h:form>
      </ui:composition>
      </html>


      The menu items 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.

      Thanks
      Sarav