2 Replies Latest reply on Jan 16, 2009 2:32 AM by maxseam

    Problem with ajax


      I have a problem with ajax event:
      The ajax event is performed successfully --> I can see it on the log. The problem is, that my rich:columnGroup isn't updated.and I am working 5 hours on this and can't get it solved.

      So, here you can see my code:

      The first one is a rich:column of a rich:dataTable.. In this column I have a listbox, where I can select a county. On chage I want reRender my columnGroup (see below). Both the first code snippet and the second one are in the same rich:dataTable (maybe this is the problem?)

       <f:facet name="header">
       <h:selectOneMenu style="max-width:100px" id="countyShowInput" value="#{tuserDemandList.tuserDemand.tcounty}">
       <s:selectItems var="_tcounty" value="#{tcountyList.resultList}" label="#{_tcounty.tname}"
       <s:convertEntity />
       <a:support event="onchange" action="#{tuserDemandList.getResultList()}" reRender="columnData"/>

      Here is my columnGroup, which I wanat to rerender:

      <rich:columnGroup id="columnData">
       <rich:column headerClass="transparentWithoutBorder">
       <h:outputText value="#{_tuserDemand.tcounty.tname}"/>
       <rich:column headerClass="transparentWithoutBorder">
       <h:outputText value="#{_tuserDemand.tdistrict.tname}" />

      So now my problem is, that the my resultList has the correct values, but the rich:columnGroup isn't updated. Why is this? If I make a rerender on a test h:outputText it's working correctly ( I can print the name of the county). Did I have forget something?