title: Add custom html attribute to be rendered for jsf2 component
body: <pre><code>&lt;h:selectBooleanCheckbox /&gt;
  </code></pre>
  
  <p>will render a html checkbox.</p>
  
  <p>How do I add a custom attribute 'myAttribute' with value 6 to it so that the result will be:</p>
  
  <pre><code>&lt;input type="checkbox" data-myAttribute="6" ... /&gt;
  </code></pre>