aspose file tools*
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
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}"/>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Rendering the command link based on the value of the hidden variable