5 Replies Latest reply on Apr 13, 2012 11:37 AM by juanjava

    Passing request parameters with rich:menuItem impossible?

    piotr.sobczyk

      I am using RichFaces with Seam framework and have a simple menu:

       

      <h:form>
              <rich:dropDownMenu value="Klienci" rendered="#{identity.hasRole('seller')}">
                  <rich:menuItem action="/pages/seller/ClientList.xhtml">
                      Lista
                      <f:param name="asRole" value="seller"/>
                      <f:param name="conversationPropagation" value="none"/>
                  </rich:menuItem>

                  ...

           </rich:dropDownMenu>

      </h:form>

       

      I would just want "asRole" parameter to be passed when user clicks menuItem. However this parameter isn't passed when I test my application (no parameter appended to URL). Is it possible to pass request parameters that way using rich:menuItem component?