• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to create a new datatable on rowclick from another datatable

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
click this links..
https://community.jboss.org/thread/164648?_sscc=t
 
Get out of my mind! Look! A tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic