8 Replies Latest reply on Jan 18, 2011 3:50 AM by hereisrudro

    How ro reRender different rich:scrollableDataTable onchange of value?

    hereisrudro

      Hi

       

      I am trying to develop a page in which on change of value of a drop down value ,I want to show different tables.

      What I am doing is on I have added a4j:support on h:selectOneMenu and on event onChange in the controller I am setting some boolean variables which I am using as a value to the rendered attribute of the tables.I have also tries keeping the table under rich:panel and rendered the panel but nothing seems to work.

       

      The problem is  when the page appears ,it has two table the previous one and the new one and on using the browser refresh the previous table disapperas giving me my desired page.Can anyone throw some light on what I am doing wrong and why?