>[...] > I've got this: OK - I've found it. It seems that XWorkBasicConverter doesn't convert BigDecimals.
I add the patch to JIRA. But I wonder if this code is really safe: if (toType == String.class) { result = doConvertToString(context, value); } else if (toType == boolean.class) { result = doConvertToBoolean(context, value); } else if (toType == Boolean.class) { result = doConvertToBoolean(context, value); } else if (toType == boolean[].class) { result = doConvertToBoolArray(context, value); } In theory those classes comes from rt.jar, and would proabably sit in the same classloader. However these days one cannot be sure anything. We live in the world of bytecode enhancers, and sometimes it may appear that (String.class == String.class) may be false. Of course it's faster to compare identity, however I'm not sure if it's safe. -- Mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork