struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Struts 2.6
Date Tue, 28 Nov 2017 08:25:08 GMT
2017-11-28 9:04 GMT+01:00 Greg Huber <gregh3269@gmail.com>:
> ...one thing I have noticed is the number formatting on textfield has
> changed.
>
> Previously, if its value was 10 it used to show 10.0 now it only shows 10.
> ie missing the decimal point and a zero.
>
> <s:textfield name="bean.size" size="5" maxlength="5" />
>
> public double getSize() {
>         return size;
>     }
>
> I have checked 2.5.13 and it works as expected 10.0

Yes, the whole discussion is here https://github.com/apache/struts/pull/173

To sum up:
- with 2.5.12 I have introduced locale aware converters with default .0
- it was considered as a bug by some users
- 2.5.14 dropped the .0


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message