You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Sebastian (JIRA)" <ji...@apache.org> on 2007/12/04 09:21:35 UTC
[jira] Commented: (WW-2349) localized conversion from double to
string broken
[ https://issues.apache.org/struts/browse/WW-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42762 ]
Sebastian commented on WW-2349:
-------------------------------
Addendum: I used a JSP with the JSP textfield tag.
> localized conversion from double to string broken
> -------------------------------------------------
>
> Key: WW-2349
> URL: https://issues.apache.org/struts/browse/WW-2349
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions
> Affects Versions: 2.0.11
> Reporter: Sebastian
>
> Locale is set to de_DE.
> Action contains a property
> private Double percentage;
> with getters/setters. The corresponding page contains a "textfield" tag for this property. It only accepts a "," (comma) as a decimal separator due to the set locale. This is fine and ok.
> But when I preset the Double property to a certain value and render the page afterwards, the textfield is filled with a number using the "." (dot) as decimal separator, instead of comma.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.