-
1. Re: New to RichFaces. SubTable and Backing Bean Question.
sergeysmirnov Apr 28, 2008 4:46 PM (in response to nicksan)you can download the source code for the whole richfaces-demo from here:
http://jboss.com/index.html?module=bb&op=viewtopic&t=104575 -
2. Re: New to RichFaces. SubTable and Backing Bean Question.
nicksan Apr 28, 2008 8:28 PM (in response to nicksan)Thanks.
I checked it out and according to what I see it looks like I need to create another Java Class that will store a Catagory and all its questions...and have a List of these objects.
Then in my richfaces:dataTable I would iterate through these categories and listing out the questions in the subTable.
Does that sound right?
Also, since this is a survey and I will have radio buttons with values saved to the database, anything I should be concerned with?
I am using Hibernate for data persistence.
Thanks!
Nick -
3. Re: New to RichFaces. SubTable and Backing Bean Question.
nicksan Apr 30, 2008 5:00 PM (in response to nicksan)OK, I got things working.
I created a class that stores a category and it's questions.
Then I created a List of these items and used this list for the datatable.
The link to the source code proved useful.
Thanks for your help!