title: Events not fired from <h:selectBooleanCheckbox> in JSF 2
body: <p>Some problematic bahaviour in my JSF2 project. </p>
  
  <p>I have a dropdown box <code>h:selectOneMenu</code> which trigers a refresh in a page <code>onchange          = "submit();"</code> which in turn causes my <code>h:dataTable</code> to be populated with checkboxes <code>h:selectBooleanCheckbox</code>. </p>
  
  <p>The problem is that I don't get <em>all</em> the <code>ValueChangeEvent</code> events from checkboxes - I only get as many events as there were checkboxes in the initial dropdown selection. For example: </p>
  
  <ul>
  <li>First case where I don't change value of a dropdown:
  <ul>
  <li>Page is created and my initial dropdown selection produces 3 checkboxes, i.e. 3 rows in the table. I select all checkboxes.</li>
  <li>After I press OK button, 3 <code>setNodeState</code> events are fired. </li>
  </ul></li>
  <li>Second case, I do change value of a dropdown: 
  <ul>
  <li>Page is created and my initial dropdown selection produces 3 checkboxes, i.e. 3 rows in the table.</li>
  <li>Then I click on a dropdown and select something different. This causes the table to have 10 checkoboxes, since there are 10 <code>MultiFileSelectMgmtBean.fileNames</code>. I select all checkboxes.</li>
  <li>After I press OK strange thing happens: only 3 <code>setNodeState</code> events are fired, not 10 as I would expect.</li>
  </ul></li>
  </ul>
  
  <p>Here is xhtml code:</p>
  
  <pre><code>&lt;tr&gt;
  &lt;td&gt;
      &lt;h:selectOneMenu 
                               value               = "#{MultiFileSelectMgmtBean.selectedLocationId}" 
                               valueChangeListener = "#{MultiFileSelectMgmtBean.LocationChangeEvent}" 
                               onchange            = "submit();" 
                               styleClass          = "text" style="width: 250px;"&gt;
                  &lt;f:selectItems 
                               value = "#{MultiFileSelectMgmtBean.locationsListItems}"
                               var   = "location"
                               itemValue = "#{location}"
                               itemLabel = "#{location.label}"&gt; 
                  &lt;/f:selectItems&gt;
              &lt;/h:selectOneMenu&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;
             &lt;h:dataTable value="#{MultiFileSelectMgmtBean.fileNames}" var="filename"&gt;
                      &lt;h:column&gt;
                            &lt;h:selectBooleanCheckbox  value               = "#{MultiFileSelectMgmtBean.fileMap[filename]}"
                                                      valueChangeListener = "#{MultiFileSelectMgmtBean.setNodeState}" 
                                                      title               = "#{filename}"
                                                      /&gt;
                            &lt;h:outputText value="#{filename}" styleClass="text"/&gt;
                      &lt;/h:column&gt;
          &lt;/h:dataTable&gt;          
  &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>