title: How to pass parameter in <rich:autocomplete>
body: <p>I need to pass a parameter in rich:autocomplete. So I did it like this.</p>
  
  <pre><code>&lt;rich:autocomplete mode="ajax" minChars="2" var="message"   
                    fetchValue="#{message.displayName}" layout="div" 
                     autocompleteMethod="#{suggestionControlAction.suggestionAction}"&gt;
      &lt;f:param name="param" value="KeyQueryVal"/&gt;
      &lt;h:column&gt;
          &lt;h:outputText value="#{message.displayName}"/&gt;
      &lt;/h:column&gt;
   &lt;/rich:autocomplete&gt;
  </code></pre>
  
  <p>And I am retrieving parameter value in my action class's suggestionAction method using,</p>
  
  <pre><code>Map&lt;String, String&gt; requestMap = FacesContext.getCurrentInstance().
                                 getExternalContext ().getRequestParameterMap();
  String queryFor = requestMap.get("param");
  </code></pre>
  
  <p>But it's returning NULL.</p>
  
  <p>In Richfaces 3, I used suggestionbox in the same way and able to pass the parameter but in Richface 4, this component is replaced by autocomplete and I am not able to achieve the same functionality.</p>