wood burning stoves 2.0*
The moose likes JSF and the fly likes inputHidden set value from request parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "inputHidden set value from request parameter" Watch "inputHidden set value from request parameter" New topic
Author

inputHidden set value from request parameter

Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
Hi,
I am pretty new to JSF. I need to use a h:inputHidden field to hold a request parameter value for future use. Not sure how to get the value. I tried f:metaData for accomplishing the goal, but that does not work, so I need a h:inputHidden. Could you please let me know how this can be done?

This is what i had for f:metadata:



Instead I need something like

Thank you
Karthik

Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
Hi,
Found the answer:
<h:inputHidden value ="#{param['templateId']}" id="frank" /> - This worked!!
 
Consider Paul's rocket mass heater.
 
subject: inputHidden set value from request parameter
 
Similar Threads
how to retrieve value from h:inputHidden
How to access JSF hidden field value?
h:inputHidden Use
Question on how to fix error on inputHidden field
Is it possible to make controls on h:dataTable work after a back button has been used.