title: onStart method is called AFTER onComplete method
body: <p>I have a button let's call it "Button1":</p>
  
  <pre><code>&lt;p:commandButton icon="ui-icon-document"
    value="Button1"
    onstart="#{bean.populateDependancies(item)}"
    update="myDialog"
    oncomplete="dialogWidget.show();"&gt;
  &lt;/p:commandButton&gt;
  </code></pre>
  
  <p>This <code>Button1</code> is supposed to open a <code>dialog</code>, but <strong>BEFORE</strong> opening it I want it to populate the target of the primefaces picklist <strong>in</strong> the dialog with some values (this job is done by the method <code>populateDependancies(item)</code>).</p>
  
  <p>But actually the method <code>populateDependancies(item)</code> is called when I <strong>close</strong> the dialog and <strong>hit</strong> the validateEdition button of <code>cellEditor</code> of primefaces (or even the cancel button) (NB: <code>Button1</code> is placed in a column of an editable datatable).</p>
  
  <p>I hope I clearly explained the problem... Please let me know if something remains unclear</p>
  
  <hr>
  
  <p>Here is my page structure maybe it could help:
  <img src="https://i.stack.imgur.com/gqjTX.png" alt="enter image description here"></p>
  
  <p>and here is my method:</p>
  
  <pre><code>public void populateDependancies(Release release) {
      if (release != null) {
          if (rfcsDualListModel.getTarget() != null || !rfcsDualListModel.getTarget().isEmpty()) {
              rfcsDualListModel.setTarget(null);
          }
          List&lt;Rfc&gt; rfcDejaAssocies = release.getRfcs();
          rfcsDualListModel.setTarget(rfcDejaAssocies);
      }
  }
  </code></pre>