I am currently having some trouble using my client side validation. I am using the Jquery Validation Engine plugin and I can’t get it to work with PrimeFaces commandButton.
I think the problem is that the primefaces commandButton isn’t a normal submit button like you have using and now my question is how do I get it to work so that when I click on my client side validation is triggered, cause using only server side validation is something I want to avoid for the user experience.
The page I want to use it on is dynamically include through a but that doesn’t cause the problem according to me.
I am using JSF 2.0 with Facelets and PrimeFaces 3.0M1 😀
Have you tried this ?
$("#buttonId").click(functionName);