This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Binding Datagrids

 
Terry Jeske
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Mike Panahil
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know about WSAD 5.x, but in RAD (new WSAD), you can bind objects, including collections to data tables just as easily.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic