« Return to Thread: Firing event when validation failed in JSF2.0??

AW: Firing event when validation failed in JSF2.0??

by Meyer, Stefan :: Rate this Message:

Reply to Author | View in Thread

I just found out, that JSF 2.0 allows me to register a postValidateEventListener on a component. This should do.

> -----Ursprüngliche Nachricht-----
> Von: Meyer, Stefan [mailto:s.meyer@...]
> Gesendet: Dienstag, 30. Juni 2009 09:00
> An: users@...
> Betreff: Firing event when validation failed in JSF2.0??
>
> Hi,
>
> I have the following requirement:
>
> A user enters a date in a textfield. If the date is incorrect
> or empty the following inputfields should be disabled via
> ajax and an error message is displayed.
>
> The problem is that I cannot send any events when the
> conversion/validation fails (invoke application and value
> changeevents are not fired).
>
> What I need is a validationFailedEvent. Is this possible with
> any ajax library or JSF2.0??
>
>
>
> Greetings
> Stefan
>
>

 « Return to Thread: Firing event when validation failed in JSF2.0??