aspose file tools*
The moose likes JSF and the fly likes How to make commandButton hidden and workable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to make commandButton hidden and workable?" Watch "How to make commandButton hidden and workable?" New topic
Author

How to make commandButton hidden and workable?

Dmitriy Kastikovich
Greenhorn

Joined: Jun 29, 2008
Posts: 23
Hi!

I want something like inputHidden. I have tried rendered=false and type='hidden' - not the same as inputHidden.

Simply I want to press on visible button OK, run JS function and then from JS click() hidden button.

How to do so?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
At end it's all plain HTML whch is generated by JSF. To style HTML elements, you normally use CSS. So also in this case. You can use the CSS properties 'display' or 'visibility' for this.
Dmitriy Kastikovich
Greenhorn

Joined: Jun 29, 2008
Posts: 23
thanks, it works!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make commandButton hidden and workable?
 
Similar Threads
Received xmlhttp result, want to allow user to download - how?
JS slide
How to give a h:inputHidden element an initial value and bind it to a backing bean?
How can I set variable in backing bean directly from jspx page?
Question on how to fix error on inputHidden field