2 Replies Latest reply on Mar 23, 2008 7:18 AM by Adrien Adrien

    jsfunit action never called for a4j:support with selectBoole

    Adrien Adrien Apprentice

      When i use jsf unit to test selectBooleanCheckbox with ajaxclient,
      then the action of my backing bean, is not called by jsunit
      here : #{resultsHolder.selectAllCheckBoxed} selectAllCheckBoxed is never called.
      So i have to do it by code.

      Somebody know this problem?

      <h:selectBooleanCheckbox id="cb_aj_selall" value="#{resultsHolder.selectAll}">
      <a4j:support event="onclick" reRender="msgDatas"action="#{resultsHolder.selectAllCheckBoxed}" />

      Hashtable<String, String> params = new Hashtable<String, String>();
      params.put(FieldsUserDetail.P_FORM + boxid, booleanvalue);
      params.put(boxid, booleanvalue);
      ajaxClient.ajaxSubmit(FieldsUserDetail.P_FORM + boxid, params);