This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes How to get a dynamic data table populated base on rowid selection from first data table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "How to get a dynamic data table populated base on rowid selection from first data table" Watch "How to get a dynamic data table populated base on rowid selection from first data table" New topic
Author

How to get a dynamic data table populated base on rowid selection from first data table

Nupur Olga
Greenhorn

Joined: May 19, 2009
Posts: 1
hi,
I have a page in which there are 2 data tables and based on the rowid selected for the first data table the second data table should be populated below.

The javascript which I used is


I have made a hidden button on click of which the second table is to be populated:


the rest jsf page code is :



The java page code is as follows:


Now only the first table details are displayed with the first row selected by default but the second data table is not getting displayed.
Is there any suggetsions or any simpler way of doing this.Please suggest.
 
Have you checked out Aspose?
 
subject: How to get a dynamic data table populated base on rowid selection from first data table
 
It's not a secret anymore!