title: How to pass selected value as parameter for passing in a4j:support
body: <p>I have one <code>&lt;h:selectOneMenu&gt;</code> inside that <code>&lt;a4j:support&gt;</code> is written.
  I have to pass the currently selected value through <code>&lt;a4j:support&gt;</code> as a parameter to action.
  How can I do this?</p>
  
  <pre><code>&lt;rich:modalPanel&gt;
  
   &lt;a4j:form&gt;
   &lt;rich:dataTable value="#{factoryCollectionOfUsers}" var="foo"&gt;
   &lt;h:selectOneMenu name="role"&gt;
                          &lt;s:selectItems
                             value="#{userAction.roleArray}"
                             var="role" label="#{role}"
                             noSelectionLabel="Please select" /&gt;
                          &lt;a4j:support event="onchange" ajaxSingle="true"
                             action="#{userAction.setSelection}"&gt;
                          &lt;/a4j:support&gt;
                          &lt;s:convertEnum /&gt;
  
                &lt;/h:selectOneMenu&gt;
    &lt;/rich:dataTable&gt;
  &lt;/a4j:form&gt;
  &lt;/rich:modalPanel&gt;
  </code></pre>