that's it, the parser expects localized input. I'd like to be able to handle parsing by myself for Doubles (without depending on the locale).
I was able to register an application-wide DoubleConverter with primitive type double this way : == xwork-conversion.properties == # syntax: <type> = <converterClassName> double = com.company.app.DoubleConverter it works but it looks more like a hack than something i can rely on as it based on the bug Łukasz indicated (https://issues.apache.org/jira/browse/WW-3171). I might be surprised to see this no more working when this bug is fixed. Pierre. On Mon, Jun 18, 2012 at 5:28 PM, Chris Pratt <thechrispr...@gmail.com> wrote: > I think the problem is that the French locale specifies that it should be > written as "445.000,00" not "445,000.00". The parser expects localized > input. > (*Chris*) > > On Mon, Jun 18, 2012 at 7:06 AM, Łukasz Lenart <lukasz.len...@googlemail.com >> wrote: > >> I think the problem is related to primitive converter which doesn't >> include Locale in conversion, take a look on that bug and related >> >> https://issues.apache.org/jira/browse/WW-3171 >> >> >> Regards >> -- >> Łukasz >> mobile +48 606 323 122 http://www.lenart.org.pl/ >> Warszawa JUG conference - Confitura http://confitura.pl/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org