webtier@glassfish.java.net

Using JSF2, JSR303 Bean Validation and AJAX to display errors

From: <webtier_at_javadesktop.org>
Date: Mon, 07 Dec 2009 20:50:09 PST

Hi, just wondered if anybody had a working example using the above? I can see the Bean Validation working when I hit submit on the form, so I know it is working. When I tab out of my field (I have an AJAX request on this field) I can see on the server that a Bean Validator is instantiated, but no error messages pop out - but when I submit the form, the error messages appear.

Alternatively, is the error being picked up but I am not displaying it? How can I check and can I get access to that message to display, so it can be shown just after the user has left the field.

Thanks,

Ian
[Message sent by forum member 'hirowla' ]

http://forums.java.net/jive/thread.jspa?messageID=375289