This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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:
 
Consider Paul's rocket mass heater.
 
subject: how to remember the value in h:commandLink inside a h:datatable
 
Similar Threads
How to work JSF with iframe
Setting up a JSF project with data tables
commandButton in dataTable doesn't work -method not found
Help on JSF Custom tag
how to align the content of the column values in datatable?