comparison gnv/ChangeLog @ 682:d3062dc8626a

Application is now sensitive to changes of the preferred browser language in the current session (issue30). gnv/trunk@853 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 29 Mar 2010 08:46:21 +0000
parents 15ac78a91d1b
children d49e8695786c
comparison
equal deleted inserted replaced
681:15ac78a91d1b 682:d3062dc8626a
1 2010-03-29 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue30
4
5 * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Use the
6 correct locale for i18n supported by HttpServletRequest object. The
7 application language is switched after the next server round-trip if the
8 user changes the preferred browser language.
9 Hint: Struts' Action class has a method getLocale(HttpServletRequest)
10 which should return the currently selected locale. This method seems to be
11 buggy - returns session's initial locale.
12
13 * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java:
14 Inherit from DescribeUIAction. The rendering stuff is now done by
15 DescribeUIAction.
16
17 * src/main/webapp/WEB-INF/config/struts-config.xml: Added missing forward
18 used for stepping back to a previous state in SelectArtifactFactory
19 action.
20
1 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> 21 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 22
3 * src/main/java/de/intevation/gnv/**/*.java: 23 * src/main/java/de/intevation/gnv/**/*.java:
4 Removed trailing whitespace. 24 Removed trailing whitespace.
5 find -name \*.java | xargs sed -i 's/[ \t]\+$//' 25 find -name \*.java | xargs sed -i 's/[ \t]\+$//'

http://dive4elements.wald.intevation.org