webtier@glassfish.java.net

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

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Tue, 08 Dec 2009 09:20:08 -0800

On 12/7/09 11:29 PM, webtier_at_javadesktop.org wrote:
> 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?
>
Are you referencing the h:message field as a render target in your
f:ajax tag?
> [Message sent by forum member 'hirowla' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=375297
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>