i get the errors if i try to set an invalid value for a Date property like myDate=1234
I could just use a message like you mentioned before, invalid.fieldvalue.myDate

trying to remember exactly why i wanted to turn this off and just handle it in the validators..

Jason Carreira wrote:
That is set in the ParametersInterceptor to let the conversion classes
know that it wants to know about conversion exceptions.

When are you getting these conversion exceptions? Are they actually
invalid values (as opposed to just "" values, which Pat and I are
working on the best way to handle)? You don't want to know about type
conversion errors?

This is a feature we're still working out, so now's your time to speak
your mind... I thought people would want to automatically have field
errors added for type conversion failures (I understand that "" -> type
fails and it should not have a field error unless the required field
validator adds it, and we're working on it), and this is what WW 1.x
does when PropertyEditors throw an exception.

Jason


-----Original Message-----
From: Francisco Hernandez [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 3:53 PM
To: [EMAIL PROTECTED]
Subject: Spam:[OS-webwork] getting rid of Invalid field value for field XXX fieldErrors



i want to get rid of those "Invalid field value for" errors.. i'd rather just have the fields set to null if a conversion error happened and handle the null field in a validator


i tracked it down to:
XWorkConverter.handleConversionException
its checking report.conversion.errors

seems like somewhere in some kind of properties file i could put report.conversion.errors=false but i do not know where, someone give me a clue :)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork








------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to