Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 706:2659a5b1fa1e
Added a link (and a controller) to toggle between german and english language (issue254).
gnv/trunk@970 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 23 Apr 2010 07:55:05 +0000 |
parents | 734e8301c9ea |
children | 3b70886b399b |
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/config/struts-config.xml Thu Apr 22 12:58:44 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/config/struts-config.xml Fri Apr 23 07:55:05 2010 +0000 @@ -7,7 +7,7 @@ <global-forwards> <forward name="entrance" path="/start.do"/> </global-forwards> - + <action-mappings> <action path="/version" type="de.intevation.gnv.action.ArtifactDatabaseActionBase" @@ -219,6 +219,20 @@ name="success" path="/WEB-INF/jsp/mainlayout.jsp"/> </action> + <action path="/language" + type="de.intevation.gnv.action.SwitchLanguageAction" + scope="request" + validate="false"> + <forward + name="success" + path="/WEB-INF/jsp/mainlayout.jsp"/> + <forward + name="back" + path="/gnv/back.do"/> + <forward + name="selectfis" + path="/gnv/selectFis.do"/> + </action> </action-mappings> <message-resources parameter="applicationMessages" null="false"/>