struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (Assigned) (JIRA)" <>
Subject [jira] [Assigned] (WW-3650) Double Value Conversion with requestLocale=de
Date Thu, 06 Oct 2011 13:36:30 GMT


Lukasz Lenart reassigned WW-3650:

    Assignee: Lukasz Lenart
> Double Value Conversion with requestLocale=de
> ---------------------------------------------
>                 Key: WW-3650
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors, Plugin - Tags
>    Affects Versions: 2.2.3
>         Environment: Tomcat 6/7, Windows 7
>            Reporter: Tim Dellas
>            Assignee: Lukasz Lenart
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> When using the german locale, s:textbox (and supposedly also other tags) don't use localization
for Double values. Effect: in a form that prints a double value to a s:textfield with value="doubleVarName",
the double value of 1.0 is printed out while it should be 1,0 with german locale. If the same
form is sent to an action, the params interceptor interprets the 1.0 somehow differently and
stores 10.0 in the double field "doubleVarName".
> I don't find another hack for me other than forcing english locale, which is okay for
my app but might not be okay for other developers. (My first bugreport, hope it's fine)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message