1 Reply Latest reply on Oct 7, 2010 2:59 AM by sarocks

    Hi all i am facing issues with data population in data table ?

    mahi101987

      Hi All ,

       

      I am new to rich faces and i am using JSF framework and richfaces to display data table with sample data which will get populated from a list from managed bean  .I have given the entires of the managed bean in faces-config.xml . i am able to display the grid structure but the data is not getting populated in the columns from the bean. i am displaying the data table in "index.jsp ".

       

      i am attaching the code as a zip file with name "rich.zip" .

       

      and i have attached the data grid which is getting displayed with out the data i am populating from "AirlinesBean.java"

       

       

      i will appreciate the response back .

       

      Thanks

      Dileep .

        • 1. Re: Hi all i am facing issues with data population in data table ?
          sarocks

          Hi,

           

          Try defining columns following way:

           

          <rich:column>
               <f:facet name="header">
                    <h:outputText value="State Name"/>
               </f:facet>
               <h:outputText value="Dileep"/>
          </rich:column>

           

          I did not find any other problem why its not displaying data in the data table.

          May be you have to do the init() in the constructor of the managed Bean. Try out the posibilities.

          And i suggest to use external browser, instead of using eclipse internal browser.

           

          Thanks,

          Saroj