Validating a JSF component client side,
June 5, 2007 at 12:43 PM
Hi, Avakesh, you can go use a JavaScript function and call it on the different event of the component. Suppose you are going to validate a commandButton component then you can call the JavaScript method on the commandButton onclick attribute value like: <h:commandButton value="Click" action="someaction" onclick="validate();" />