2 Replies Latest reply on Feb 4, 2011 11:00 AM by franksparr

    Drop Down Menu Item Not Submitting To Server

    franksparr

      Using RichFaces 4.0.0.20101226-M5 on Tomcat 7.  I've tried multiple methods but I cannot get a drop down menu item to submit to a server side action.  There is no Firebug output for script or net activity.  Does not work in IE either.  Does this work for anyone else.  You can put in whatever action, outcome, etc you want, but nothing happens:

       

      <!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:h="http://java.sun.com/jsf/html"

          xmlns:f="http://java.sun.com/jsf/core"

          xmlns:a4j="http://richfaces.org/a4j"

          xmlns:rich="http://richfaces.org/rich">

      <h:head>

      </h:head>

       

      <h:body>

       

          <h:form>

       

              <rich:toolbar>

                   <rich:dropDownMenu >

                       <f:facet name="label">

                           <h:outputText value="File"/>

                       </f:facet>

       

                      <rich:menuItem submitMode="server" label="Hello" action="success">

                      </rich:menuItem>

                  </rich:dropDownMenu>

              </rich:toolbar>

          </h:form>

       

       

      </h:body>

      </html>