wood burning stoves 2.0*
The moose likes JSF and the fly likes Rendering the command link based on the value of the hidden variable 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 "Rendering the command link based on the value of the hidden variable" Watch "Rendering the command link based on the value of the hidden variable" New topic
Author

Rendering the command link based on the value of the hidden variable

Kanav Khajuria
Greenhorn

Joined: Mar 16, 2009
Posts: 2
Hi,

Can we render a command link based on the value of the hidden variable.
if yes how can we do it?

thanks

kanav
Sib Pete
Greenhorn

Joined: Apr 27, 2009
Posts: 26
I am guessing you could set the "rendered" property to some method of the backing bean that reads the hidden field. So you would have something like:

<jsf:component id="someId" rendered="#{ManagedBean.methodThatReadsHiddenField}"/>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rendering the command link based on the value of the hidden variable