title: selectBooleanCheckbox - How do I know which checkbox am I selecting or deselecting?
body: <p>I develop something like a shopping cart. I can select multiple items (by clicking on the checkbox next to that item) and add them to a list. How can I know which checkbox I am selecting. If I do this</p>
  
  <pre><code>&lt;h:selectBooleanCheckbox value="#{document.checked}"/&gt;
  </code></pre>
  
  <p>it only tell me a state of a checkbox is selected or not, but does not tell me which one. Remember the number of items is unknown until runtime since I load them from a datasource, meaning I dont know how many check box there are. </p>