title: How to do client side updates in JSF 2.0
body: <p>I'd like to do client side component updates. Example: disable a button when a checkbox is clicked:</p>
  
  <pre><code>&lt;h:selectBooleanCheckbox value="true" onchange="button.disabled=true" /&gt;
  &lt;h:commandButton id="button" value="Save" /&gt;
  </code></pre>
  
  <p>The above doesn't work. Is there a way to do this declaratively in JSF?</p>