title: JSF 2.0 Forbid calling action after failed validation in actionListener
body: <p>I have a dialog for adding some data: </p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;p:commandButton id="save" 
      actionListener="#{adminNationalController.saveTeam}" 
      action="#{adminManageInternationalTournamentController.updateTeamList}"
      value="#{msg.save}" ajax="true"
      icon="ui-icon-check"
      onmousedown="return validateSubmit('addCombinedTeamForm', ['name'],'lang')"
      oncomplete="if (!args.validationFailed) addCombinedTeamDialog.hide()"
      process = "@form"
      update="lang, name, :manageTournament:dataList,:manageTournament:scroll, :menuForm:growl, :manageTournament:nationalTeam"&gt;
  
      &lt;f:setPropertyActionListener 
          value="#{adminNationalController.newTeamBean}"
          target="#{adminManageInternationalTournamentController.newTeamBean}"/&gt;
  
  &lt;/p:commandButton&gt; 
  </code></pre>
  
  <p>In <code>saveTeam</code> I try to validate data but <code>action</code> case in case validation failed.</p>
  
  <p>Is it posible forbid calling action? </p>