title: Change value of bean when using p:commandButton
body: <p>The value of the bean does not change when I have finisehd clicking on the button. I havent't any errors, but it does not work: the "locked" is still evaluated to false</p>
  
  <p>Here is the code:</p>
  
  <pre><code>    &lt;p:column&gt;
           &lt;p:commandButton id="downloadLink"  ajax="false"  oncomplete="#{dmFile.setLocked(true)}"&gt;
               &lt;p:fileDownload value="#{downloadBean.downloadXMLFile(dmFile)}"  /&gt;  
          &lt;/p:commandButton&gt; 
  
       &lt;p:column headerText="lock" style="width:2%"&gt;
              &lt;h:outputText value="#{dmFile.locked}" /&gt;              
       &lt;/p:column&gt;   
  </code></pre>
  
  <p>And my bean is </p>
  
  <pre><code>    public class DMFile{
  
            private boolean locked;
  
            public boolean isLocked() {
                 return locked;
            }
  
            public void setLocked(boolean locked) {
                this.locked = locked;
             }
  
      }
  </code></pre>