aspose file tools*
The moose likes JSF and the fly likes Binding Datagrids Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Binding Datagrids" Watch "Binding Datagrids" New topic
Author

Binding Datagrids

Terry Jeske
Greenhorn

Joined: Apr 06, 2004
Posts: 17
In ASP.Net land, it is a simple matter to bind a datagrid to a record set. But I cannot seem to find a single example of this for JSF. WSAD has the ability to bind to a sql table with the IBM proprietary control. But I can find no examples on how to bind the results from a sql query to a datagrid.

Can someone point me to an example of this?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

This is from JSF In Action. There will be a method in the backing bean called getUserList() that returns some sort of collection of user objects.


[ April 21, 2005: Message edited by: Gregg Bolinger ]

GenRocket - Experts at Building Test Data
Mike Panahil
Greenhorn

Joined: May 13, 2005
Posts: 3
I dont know about WSAD 5.x, but in RAD (new WSAD), you can bind objects, including collections to data tables just as easily.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Binding Datagrids