You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Meyer, Stefan" <s....@sinnerschrader.de> on 2009/07/01 10:50:01 UTC

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

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@sinnerschrader.de] 
> Gesendet: Dienstag, 30. Juni 2009 09:00
> An: users@myfaces.apache.org
> 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
> 
>