This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes how to remember the value in h:commandLink inside a h:datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "how to remember the value in h:commandLink inside a h:datatable" Watch "how to remember the value in h:commandLink inside a h:datatable" New topic
Author

how to remember the value in h:commandLink inside a h:datatable

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
I have a h:dataTable storing header information, there is a column "refno" which is a h:commandlink (or hutputlink) so user can select that column and jump to the detail page.
My problem is how to remember the refno so I can use it in the detail page?

a simplified code is as follows:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to remember the value in h:commandLink inside a h:datatable