title: aui:form with many aui:button
body: <p>I am trying to develop an aui:form with three aui:button this way...</p>
  
  <pre><code>&lt;portlet:actionURL name="generateRule" var="generateRuleURL"/&gt;
  &lt;portlet:actionURL name="generateRuleAnd" var="generateRuleAndURL"/&gt;
  &lt;portlet:actionURL name="generateRuleOr" var="generateRuleOrURL"/&gt;
  
  &lt;aui:form action="&lt;%= generateRuleURL.toString() %&gt;" method="post"&gt;
  &lt;aui:fieldset column="false"&gt;
  &lt;aui:select name="FirstRuleElement" &gt;
  &lt;aui:option value="Age"&gt;
  &lt;liferay-ui:message key="Age" /&gt;
  &lt;/aui:option&gt;
  &lt;aui:option value="Country"&gt;
  &lt;liferay-ui:message key="Country" /&gt;
  &lt;/aui:option&gt;
  &lt;aui:option value="Direction"&gt;
  &lt;liferay-ui:message key="Direction" /&gt;
  &lt;/aui:option&gt;
  &lt;/aui:select&gt;
  &lt;aui:select name="FirstRuleAttribute" &gt;
  &lt;aui:option value="Age"&gt;
  &lt;liferay-ui:message key="Age" /&gt;
  &lt;/aui:option&gt;
  &lt;aui:option value="Country"&gt;
  &lt;liferay-ui:message key="Country" /&gt;
  &lt;/aui:option&gt;
  &lt;aui:option value="Direction"&gt;
  &lt;liferay-ui:message key="Direction" /&gt;
  &lt;/aui:option&gt;
  &lt;/aui:select&gt;
  &lt;/aui:fieldset&gt;
  &lt;aui:fieldset column="false"&gt;
  &lt;aui:button-row&gt;
  &lt;aui:button type="submit" value="End" /&gt;
  
  &lt;aui:button type="submit" value="And"
  onClick="&lt;%= generateRuleAndURL.toString()%&gt;" /&gt;
  
  &lt;aui:button type="submit" value="Or"
  onClick="&lt;%= generateRuleOrURL.toString()%&gt;" /&gt;
  &lt;/aui:button-row&gt;
  &lt;/aui:fieldset&gt;
  &lt;/aui:form&gt;
  </code></pre>
  
  <p>And I want to execute different methods from the Portlet, depending on the button pressed...</p>
  
  <pre><code>public void generateRule(ActionRequest request, ActionResponse response)
  public void generateRuleAnd(ActionRequest request, ActionResponse response)
  public void generateRuleOr(ActionRequest request, ActionResponse response)
  </code></pre>
  
  <p>Using this function for retrieving the data...</p>
  
  <pre><code>request.getParameter("FirstRuleElement")
  </code></pre>
  
  <p>But by doing click on the And and Or buttons I don't get the request parameters of the form.</p>
  
  <p>Do you know how I can solve this??</p>
  
  <p>Thank you,
  Oriol</p>