Mercurial > dive4elements > gnv-client
diff 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 |
line wrap: on
line diff
--- a/gnv/ChangeLog Mon Mar 29 08:04:15 2010 +0000 +++ b/gnv/ChangeLog Mon Mar 29 08:46:21 2010 +0000 @@ -1,3 +1,23 @@ +2010-03-29 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + Issue30 + + * src/main/java/de/intevation/gnv/action/DescribeUIAction.java: Use the + correct locale for i18n supported by HttpServletRequest object. The + application language is switched after the next server round-trip if the + user changes the preferred browser language. + Hint: Struts' Action class has a method getLocale(HttpServletRequest) + which should return the currently selected locale. This method seems to be + buggy - returns session's initial locale. + + * src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java: + Inherit from DescribeUIAction. The rendering stuff is now done by + DescribeUIAction. + + * src/main/webapp/WEB-INF/config/struts-config.xml: Added missing forward + used for stepping back to a previous state in SelectArtifactFactory + action. + 2010-03-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/gnv/**/*.java: