| Author |
datatable population?
|
Anthony Sykes
Ranch Hand
Joined: Aug 25, 2007
Posts: 57
|
|
I have a page with a datatable in a CRUD scenario. I need to populate the datatable when the page is loaded. Where should this population occur? In the constructor? Is there another place? I have not been able to find any examples of this scenario? Can someone point me in the right direction and/or provide some examples? Do I have to actually get the data from another page and put it in the session and then send someone to this page? That seems to be a little much? Am I limited to only letting the page load to an empty datagrid and forcing the user to press a button after the page loads? Is the bean constructor the only place the loading can occur? [ August 25, 2007: Message edited by: Bear Bibeault ]
|
 |
Krishna Srinivasan
Ranch Hand
Joined: Jul 28, 2003
Posts: 1803
|
|
simple example : http://www.javabeat.net/code/2007/09/jsf-iterate-row-using-datatable/
|
Krishna Srinivasan
OCAJP Mock Questions
|
 |
 |
|
|
subject: datatable population?
|
|
|