Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Populating tables from the database  RSS feed

 
Dhaval Shah
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using Sun Studio IDE for developing JSF only. We are using JPOX JDO as an OR tool. Now on one page I have 1 table having 3 columns (Delete (CheckBox), Code (Text), Description (Text)). After executing a query using JDOQL I get the result set in an Object. Now how do I associate respective properties (i.e. Code, Description) of the object (that I have obtained) to the respective columns (i.e. col. no - 2 and col. no - 3) of the table in JSF using Sun Studio IDE.

Please help me as I am unable to get the solution of this.

Regards,
Dhaval Shah
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use h:dataTable. Here is an excellent explanation about how to use datatables.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!