2 Replies Latest reply on Jun 16, 2010 5:30 AM by sathishavunoori

    how to pass a list object to rich:dataTable from my backing bean dynamically?

    sathishavunoori

      hi all,

       

       

      i have a requirement that , i have a <rich:dataTable id="mytable"> and having two different types of data model lists.

       

      according to my requirement , i am checking a flag value , depending on this flag value i want to pass one datamodel to that dataTable ("mytable ") dynamically(if flag is true then first datamodel list , if flag is false then second datamodel list ).

       

       

      Can any one tell me how can i pass datamodel list dynamically from my backing bean to "mytable"?

       

       

      Thanks alot in advance

      sathish