7 Replies Latest reply on Aug 7, 2010 10:31 PM by snair0420

    Boolean Checkbox action invokation

    toson002

      I've been struggling with this problem for days.  I am trying to invoke an action for a list of boolean checkboxes.  I am able to invoke it once but that's it.  It stops working every time after the initial one.  I need that action to be performed each and every time I click a checkbox on the page.  Below are snippets of my code:

       

      <h:selectBooleanCheckbox id="includeFl" disabled="#{result.transferred}">

           <a4j:support ajaxSingle="true" action="#{MyFunctionsBean.selectDeselectRowId}" event="onclick">

                <a4j:actionparam name="rowId" value="#{result.rowId}" assignTo="#{MyFunctionsBean.selectedDeselectRowId}" />

           </a4j:support>

      </h:selectBooleanCheckbox>

       

      Any ideas would be greatly appreciated.