Forums Register Login

Problem with a4j button

+Pie Number of slices to send: Send
I have an a4j button and i need it to function in two different ways, depending upon a value from the bean.
If i have true in the bean, i need to use a4j button by onclick="xxx", else i need to use it by action="xxx". How is it possible to realize it?
+Pie Number of slices to send: Send
Place two buttons, one with onclick, another with action and conditionality render them based on the value in the bean.

Max
http://mkblog.exadel.com
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1069 times.
Similar Threads
'oncomplete' problem while running request to a servlet
h:commandButton problem
IE only : Destination page loses style after clicking on commandbutton (x-posted in jboss.org forum)
Create JSF Html Element through javascript
help required on a4j commandButton
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:14:23.