myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meyer, Stefan" <s.me...@sinnerschrader.de>
Subject AW: Firing event when validation failed in JSF2.0??
Date Wed, 01 Jul 2009 08:50:01 GMT
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
> 
> 

Mime
View raw message