Hi all,

I have the same problem that describes in this old mail : a NullPropertyException (from ERXValidationException) is thrown instead of using my validateKey methods.
Has somebody found a solution to that without changing the model ?

Thanks.
Cedric

Le 2 juin 08 à 17:35, Rams a écrit :

Hi everyone,

I have a model object using the WonderEntity template and my validateKey methods are being intercepted higher up with a NullPropertyException (ERXValidationException). I'd like to handle the null values myself and throw a localized exception message, but my validateKey method never gets called if the value is null. Does anyone know how I can catch that null value myself?

Thank you! :-) _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to