title: p:ajax fires twice
body: <p>concerning p:ajax of PrimeFaces. I have two p:ajax requests within my <code>&lt;p:commandButton&gt;</code>. I did <code>stdout</code> within the second method so that I can see if its triggered or not. The same (last) method is triggered twice and I don't know why. If I put only one <code>&lt;p:ajax&gt;</code> request into my button he fires once and if I put two <code>&lt;p:ajax&gt;</code> requests he fires twice. </p>
  
  <pre><code>&lt;h:body style="background:#f5f5f5;"&gt;
      &lt;h:form id="formG"&gt;
          &lt;p:commandButton styleClass="viewButton" icon="ui-icon-search"
              value="#{msg['button.open']}" id="auftragButtonG"&gt;
  
              &lt;p:ajax listener="#{auftragBean.saveIdIntoAppScope()}"  partialSubmit="true"/&gt;
              &lt;p:ajax listener="#{auftragBean.loadXMLData()}" partialSubmit="true"/&gt;
          &lt;/p:commandButton&gt;
      &lt;/h:form&gt;
  &lt;/h:body&gt;
  </code></pre>
  
  
  
  <pre><code>public void loadXMLData(){
      setXmlData(entireXmlData(mandantId(), getJobId()));
      System.out.println(getXmlData().size());
  }
  </code></pre>
  
  <p>Anybody knows why and how I can ignore the second load?</p>