This content has been marked as final.
Show 2 replies
-
1. Re: Need help in how to enable a4j:commandButton via javasri
ilya_shaikovsky Dec 4, 2008 4:01 AM (in response to stells)1 of 1 people found this helpfulYou change the disabled on the client side but in the component tree (on server) the buton still disabled. So no processing. And this is standard behaviour. So:
1) You should update the disabled button state via ajax request instead of simple js.
2) Or you could try not to define disabled on the component but disable the button on the client just after page load. -
2. Re: Need help in how to enable a4j:commandButton via javasri
stells Dec 4, 2008 4:32 AM (in response to stells)Thank your for clearfication, ilya_shaikovsky!
Perhaps I will try to disable components localy on load since ajax requests on multiple fields are too expensive.