File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Nupur Olga
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic