This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes how to create a new datatable on rowclick from another datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to create a new datatable on rowclick from another datatable" Watch "how to create a new datatable on rowclick from another datatable" New topic
Author

how to create a new datatable on rowclick from another datatable

christine clarin
Ranch Hand

Joined: Feb 05, 2005
Posts: 106
hello,

i am new to jsf and richfaces and I'm a little confused on how to create a new data table (on the same page) when clicking on a row from another data table. I have tried these options, but i can't get any to work please help. thanks!

Option 1:

this is my jsp file:


my bean file:


Option 1 works in such that it prints out in the console the case_name that I want to see. But I don't know how to make a new data_table showing the same case_name on the same page, on another data table when I click the row that corresponds to it.

Option 2:


Option 2, I actually just got this from a book, and I don't know how else to proceed. What do I put in the selected attribute in my backing bean? book instructed to show the output this way:


but i can't seem to make it work. can anyone help me do this? thank you!!!
Criselda Clave
Greenhorn

Joined: Mar 07, 2013
Posts: 6
click this links..
https://community.jboss.org/thread/164648?_sscc=t
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create a new datatable on rowclick from another datatable
 
Similar Threads
h:selectManyCheckbox reRender rich:dataTable
Ajax status doesn't stop in IE8
Rich:Datatable rerendering problem
rich:contextMenu HOW TO RERENDER some sections!!
Check box column trouble