AJAX with JSF h:commandButton
0 posts in topic
Flat View  Flat View

Posted By:   Steve_Ayers
Posted On:   Thursday, June 15, 2006 07:21 AM

I am trying to make an AJAX request in the onClick event of an h:commandButton using JSF. The call is doing everything correctly and is coded as:


However, I also have an event in my backing bean bound to an actio attribute as:


But if the ajax validation fails, I don't want the action event fired. How can I only fire the action event if the ajax validation succeeds?

About | Sitemap | Contact