File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inputHidden set value from request parameter