Hi, for commandButton there is no "onclick" generated by the framework - so it's free for you to use :o).
You can set an "onclick" event handler to your commandButton component calling your JavaScript function. When this method returns "false", the submit of the button is not executed. Cheers, René ----- Original Message ----- From: Viswanath Ramineni [mailto:[EMAIL PROTECTED] To: [email protected] Sent: Wed, 02 Aug 2006 14:22:24 +0200 Subject: Javascript integration - on ActionListner event > > I have this requirement, when I press the "save" button, I need to validate > the form and only if the validation is successful I need to submit (fire the > backing bean method associated with the ActionListner). How do I integrate > my onclick javascript with the one generated by the framework? > -- > View this message in context: > http://www.nabble.com/Javascript-integration---on-ActionListner-event-tf2039511.html#a5612702 > Sent from the Shale - User forum at Nabble.com. > >
