webtier@glassfish.java.net

Re: Using JSF2, JSR303 Bean Validation and AJAX to display errors

From: <webtier_at_javadesktop.org>
Date: Mon, 07 Dec 2009 23:29:21 PST

Maybe I can modify my request.

I want to be able to use the <h:message for="fieldname"> to display errors when I do a validation of a field using Ajax.

If I put a phase listener after validation, I can see the error message due to the validation. What I would like to know is how can I display this error message using the simple <h:message> mechanism. Is this even possible using Ajax, or do I have to do it another way?
[Message sent by forum member 'hirowla' ]

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