Mercurial > dive4elements > gnv-client
comparison gnv/ChangeLog @ 967:c7f8a9b4b006
Improved parsing i18n values of chart/histogram options (issue289).
gnv/trunk@1129 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 26 May 2010 17:03:29 +0000 |
parents | 13de46229f63 |
children | 7a93e4114e6d |
comparison
equal
deleted
inserted
replaced
966:13de46229f63 | 967:c7f8a9b4b006 |
---|---|
1 2010-05-26 Ingo Weinzierl <ingo.weinzierl@intevation.de> | |
2 | |
3 Issue289 | |
4 | |
5 * src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java: Store | |
6 chart/histogram options inserted by the user in the SessionModel. In the | |
7 case of a wrong input we are able to reuse the previous value. Options | |
8 inserted by the user are stored as native objects - no longer as string. | |
9 | |
10 * src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java: | |
11 Store options as Object instead of String to keep the information about | |
12 the type of the option (string, integer, double, etc). Furthermore there | |
13 is a new method getValue(String key, Locale locale) that returns the value | |
14 as string. Double values are formatted using the locale object. This | |
15 method is used in the gui to display a well formatted i18n string. | |
16 | |
17 * src/main/webapp/WEB-INF/jsp/includes/display_histogram_options_inc.jsp, | |
18 src/main/webapp/WEB-INF/jsp/includes/display_diagramm_options_inc.jsp: | |
19 Make use of the new method in DiagrammOptions to retrieve the value as | |
20 formatted string. | |
21 | |
1 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> | 22 2010-05-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
2 | 23 |
3 Issue272 | 24 Issue272 |
4 | 25 |
5 * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Read strings | 26 * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Read strings |