title: JSF checkbox listener
body: <pre><code>&lt;h:selectBooleanCheckbox id="deactivate" title="select to deactivate" /&gt;
  </code></pre>
  
  <p>I have a checkbox and a button on my JSF page. I want the button to be enabled only if checkbox is checked.</p>
  
  <p>What is the JSF way of doing this with no manual javascript and no listener method on my java class. There should be way of doing it maybe with an expression something like;</p>
  
  <pre><code>"panel group rendered=#{}" 
  </code></pre>
  
  <p>one button rendered for enabled and one button rendered or disabled.</p>