I am new to JSF and am using Richfaces 3.1.1, netbeans 5.11 with hibernate 3. I would like to have 3 datatables on a page, each within a rich:tab. I would like each table to display a different subset of data from the same table.
What is the best strategy to accomplish this? I have tried using one managed bean and passing it a parameter to be inserted into the HQL as a where clause. Would it be better to create 3 managed beans, one for each subset of data?
I get the feeling I am missing a simple way to do this.
The simple way i think is:
1 managed bean and 3 ArrayLists that hold data for your 3 tables and value for each table to be binded to this arraylists.
Sorry for my poor English!!