8 Replies Latest reply on Apr 7, 2010 9:48 AM by ilya_shaikovsky

    Question: DataTable, DataTableScroller Sample Code

      Hi,

      I saw the demo of DataTable and DataScroller - looked really good. I would like to re-use the same for my application I am developing.

      I already setup RichFaces etc. and is working with Greeter tutorial explained in the documentation.

      http://docs.jboss.org/richfaces/latest_3.3.X/en/devguide/html_single/

       

      I copied the source of DataScroller in my index.jsp and modified it accordingly so it still has user.name as the only variable. Removed other column headers and columns.

      http://livedemo.exadel.com/richfaces-demo/richfaces/dataTableScroller.jsf?c=dataTableScroller&tab=usage

       

      Interface is being displayed properly, when it is being run. What modifications do I need to modify to retrieve the data from the user bean?

      I would like a list of names (Strings) being displayed.

       

      I did refer sample demo of DataTable also, but it is generating many errors and not able to get it to work.

      http://anonsvn.jboss.org/repos/richfaces/tags/3.3.2.GA/samples/dataTableDemo/

       

      Any suggestions are appreicated.

       

      Thanks,

      K