permaculture playing cards*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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