comparison 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
comparison
equal deleted inserted replaced
705:f550bd27a3f1 706:2659a5b1fa1e
5 <struts-config> 5 <struts-config>
6 <global-exceptions/> 6 <global-exceptions/>
7 <global-forwards> 7 <global-forwards>
8 <forward name="entrance" path="/start.do"/> 8 <forward name="entrance" path="/start.do"/>
9 </global-forwards> 9 </global-forwards>
10 10
11 <action-mappings> 11 <action-mappings>
12 <action path="/version" 12 <action path="/version"
13 type="de.intevation.gnv.action.ArtifactDatabaseActionBase" 13 type="de.intevation.gnv.action.ArtifactDatabaseActionBase"
14 scope="request" 14 scope="request"
15 validate="false"> 15 validate="false">
216 name="selectfis" 216 name="selectfis"
217 path="/gnv/selectFis.do"/> 217 path="/gnv/selectFis.do"/>
218 <forward 218 <forward
219 name="success" 219 name="success"
220 path="/WEB-INF/jsp/mainlayout.jsp"/> 220 path="/WEB-INF/jsp/mainlayout.jsp"/>
221 </action>
222 <action path="/language"
223 type="de.intevation.gnv.action.SwitchLanguageAction"
224 scope="request"
225 validate="false">
226 <forward
227 name="success"
228 path="/WEB-INF/jsp/mainlayout.jsp"/>
229 <forward
230 name="back"
231 path="/gnv/back.do"/>
232 <forward
233 name="selectfis"
234 path="/gnv/selectFis.do"/>
221 </action> 235 </action>
222 </action-mappings> 236 </action-mappings>
223 237
224 <message-resources parameter="applicationMessages" null="false"/> 238 <message-resources parameter="applicationMessages" null="false"/>
225 </struts-config> 239 </struts-config>

http://dive4elements.wald.intevation.org