title: RichFaces button enable disable based on a4j:status
body: <p>My requirement is that <code>a4j:commandButton</code> should be disable on click, it should remain disabled till data is loaded in <code>rich:dataTable</code>.</p>
  
  <p>Can you please tell me how can we implement it. Can we use <code>a4j:status</code> for this. I am already using <code>a4j:status</code> for showing progress. Can we capture start and end flag of <code>a4j:status</code> and based on that we can enable and disable <code>a4j:commandButton</code> .</p>