diff gnv/src/main/webapp/WEB-INF/config/struts-config.xml @ 394:14eecfde4607

Render links to step back to previous states into gui. Added controller to advance back to these states. gnv/trunk@538 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 13 Jan 2010 22:17:02 +0000
parents d6c0d426e38a
children 002a4d38c16d
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/config/struts-config.xml	Wed Jan 13 11:29:40 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/config/struts-config.xml	Wed Jan 13 22:17:02 2010 +0000
@@ -33,6 +33,14 @@
                 name="success"
                 path="/WEB-INF/jsp/mainlayout.jsp"/>
         </action>
+        <action path="/back"
+                 type="de.intevation.gnv.action.PreviousArtifactStepAction"
+                 scope="request"
+                 validate="false">
+            <forward
+                name="success"
+                path="/WEB-INF/jsp/mainlayout.jsp"/>
+        </action>
         <action path="/next" 
                 type="de.intevation.gnv.action.NextArtifactStepAction"
                 scope="request"
@@ -40,6 +48,9 @@
            <forward
                 name="success"
                 path="/WEB-INF/jsp/mainlayout.jsp"/>
+            <forward
+                name="back"
+                path="/gnv/back.do"/>
         </action>
                 <action path="/out" 
                 type="de.intevation.gnv.action.DoOutputAction"

http://dive4elements.wald.intevation.org