Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ADF faces Table with links

 
nesto costa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

hope someone can help me.
i'm building a page which has a table with 4 columns.
the first column as only numbers.
i want every item in the first column to be a link to a details page for that number.
for example, imagine i have 1 to 5 items and i click the item number 2.
i want to see the page with the details of the item 2.
the problem is, i have a details page which has an inputtext box, a commandbutton and a table that is generated by a method that receives the value from the inputtext.
this page works fine if i enter it and search, but i want to see the details of an item right after clicking the item link without having to search for it.

does anyone know how to make this work?

thanks
 
Gopi Nimmagadda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be you can pass the value you will otherwise enter in the input text, as a request parameter on the link. In the backing bean of second screen, you can populate the table.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic