Forums Register Login

How to make commandButton hidden and workable?

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
thanks, it works!
If somebody says you look familiar, tell them you are in porn. Or in these tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 9145 times.
Similar Threads
How can I set variable in backing bean directly from jspx page?
Question on how to fix error on inputHidden field
JS slide
How to give a h:inputHidden element an initial value and bind it to a backing bean?
Received xmlhttp result, want to allow user to download - how?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 05:30:46.