3 Replies Latest reply on Jan 17, 2011 9:46 AM by Pavol Pitonak

    richfaces 4.0 M5 menuItem action problem

    valerio de minico Newbie

      Hi,

      I'm writing a simple app using richfaces 4M5. Here I use a rich:menuItem element but, when I click on it, it doesn't fire action. This is the code in my xhtml file:

       

      <rich:toolbar height="26" itemSeparator="grid">

                                                        <h:form>

                                                                  <rich:dropDownMenu>

                                                                              <f:facet name="label">

                                                                                        <h:panelGroup>

                                                                                                  <h:outputText value="Benvenuto"/>

                                                                                        </h:panelGroup>

                                                                              </f:facet>

                                                                               <rich:menuGroup value="Select...">

                                                                                                <rich:menuItem value="All" label="All" submitMode="server"

                                           action="#{menuAction.insertCv}"/>

                                                                              </rich:menuGroup>

       

                                                                  </rich:dropDownMenu>

                                                        </h:form>

                                      </rich:toolbar>

       

      Which could be the problem?

       

      Thanks,

      Valerio.