title: rich:menuitem passing parameter
body: <p>I have menu build on Richfaces using rich:menuitem. I need to determine, which menuitem was clicked by user. I tried to use:</p>
  
  <pre><code>&lt;rich:menuItem submitMode="server" value="#{msg.sidemenu_alldocs_internal_documents_bill_sent_documents}" action="#{billdoc.list}"&gt;
              &lt;f:param name="sidemenutype" value="#{bill_sent}"/&gt;
          &lt;/rich:menuItem&gt;
  </code></pre>
  
  <p>But, i don't see parameter sidemenutype in my request parameters. Why?</p>
  
  <pre><code>    FacesContext context = FacesContext.getCurrentInstance();
      HttpServletRequest req = (HttpServletRequest) context.getExternalContext().getRequest();
      String docType = (String)context.getExternalContext().getRequestMap().get("sidemenutype");
  </code></pre>
  
  <p>docType is null. Can i somehow pass parameter from jsp to request, using rich:menuitem?</p>