3 Replies Latest reply on Jul 26, 2007 11:21 PM by daedlus

    setter not being called for rerendered component

    daedlus

      i have a rich:datatable in which one col has checkboxes and if it is ticked a input Number spinner is rendered .my problem is aftera value is inputed in the spinner its corresponding setter is not being called and hence value of it i not being set in the bean. below is the code snippet. i have two such cols in my datatable . it has somthg to do with ajax thgy i believe
      wat cud be the prob
      help much appreciated

      
       <rich:dataTable id="allCfvbs" value="#{myBean.mylist}" var="myItem"
      <f:facet name="header">
      ....
      </f:facet>
      ..............
      <rich:columnGroup>
      <rich:column>
      <h:outputText value="description"/>
      </rich:column>
      
       <rich:column align="center">
       <a4j:outputPanel id="colGrp">
       <h:selectBooleanCheckbox value="#{myItem.state}">
       <a4j:support event="onclick" reRender="colGrp" switchType="client">
       </a4j:support>
       </h:selectBooleanCheckbox>
       <rich:inputNumberSpinner value="#{myItem.count}" minValue="1" rendered="#{myItem.state}"/>
       </a4j:outputPanel>
       </rich:column>
      
      




      regards
      ~daedlus