> -----Original Message-----
> Behalf Of Jason Carreira
> You also get number format messages for non int values? 
> That's a bug... It should just add a field error...

Here is the exception for a non-numeric value. How can this ever be a
field error if OGNL throws this before the calidation interceptor gets a
crack at it?

[com.opensymphony.xwork.interceptor.ParametersInterceptor] Setting
params {personIDNumber=[Ljava.lang.String;@e79eb3}
java.lang.NumberFormatException: For input string: "d"
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)
java.lang.Long.parseLong(Long.java:323)
java.lang.Long.parseLong(Long.java:381)
ognl.OgnlOps.longValue(OgnlOps.java:85)
ognl.OgnlOps.convertValue(OgnlOps.java:209)
ognl.DefaultTypeConverter.convertValue(DefaultTypeConverter.java:50)
com.opensymphony.xwork.XWorkBasicConverter.convertValue(XWorkBasicConver
ter.java:80)



-------------------------------------------------------
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