aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/resources/struts.xml
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-07-29 16:18:47 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-08-06 10:24:36 +0200
commite281b81475cc8a94a59f6ce7767d4b0996ea7180 (patch)
tree51b7a5e0e0a1abacc6157a0509377cdc5fb03fed /id/ConfigWebTool/src/main/resources/struts.xml
parent99694b29f82f858f5b6163e6a3d6c11caaeb487e (diff)
downloadmoa-id-spss-e281b81475cc8a94a59f6ce7767d4b0996ea7180.tar.gz
moa-id-spss-e281b81475cc8a94a59f6ce7767d4b0996ea7180.tar.bz2
moa-id-spss-e281b81475cc8a94a59f6ce7767d4b0996ea7180.zip
Configuration Tool:
- OA Configuration TODO: - General Configuration - Import - User Management
Diffstat (limited to 'id/ConfigWebTool/src/main/resources/struts.xml')
-rw-r--r--id/ConfigWebTool/src/main/resources/struts.xml84
1 files changed, 82 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml
index 9faaaeceb..652df73d8 100644
--- a/id/ConfigWebTool/src/main/resources/struts.xml
+++ b/id/ConfigWebTool/src/main/resources/struts.xml
@@ -4,7 +4,9 @@
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
-
+
+ <constant name="struts.custom.i18n.resources" value="webpages" />
+
<package name="default" namespace="/" extends="struts-default">
<default-interceptor-ref name="defaultStack"/>
@@ -18,20 +20,98 @@
<result name="error">/error.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
+ </package>
+
+ <package name="secure" namespace="/secure" extends="struts-default">
+
+ <default-interceptor-ref name="defaultStack"/>
<action name="main" method="generateMainFrame" class="at.gv.egovernment.moa.id.configuration.struts.action.MainAction">
<result name="success">/jsp/mainpage.jsp</result>
<result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
<action name="listallapplications" method="listAllOnlineAppliactions" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction">
<result name="success">/jsp/listOAs.jsp</result>
<result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="searchOAInit" method="searchOAInit" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction">
+ <result name="success">/jsp/searchOAs.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="searchOA" method="searchOA" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction">
+ <result name="success">/jsp/searchOAs.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="newOA" method="newOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result name="editOA">/jsp/editOAGeneral.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="loadOA" method="inital" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result name="editOA">/jsp/editOAGeneral.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="saveOA" method="saveOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result name="success" type="chain">main</result>
+ <result name="error_validation">/jsp/editOAGeneral.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="cancleandbackOA" method="cancleAndBackOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result type="chain">main</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="deleteOA" method="deleteOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result type="chain">main</result>
+ <result name="error_validation">/jsp/editOAGeneral.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="loadGeneralConfig" method="loadConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction">
+ <result name="success">/jsp/editGeneralConfig.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <result name="notallowed" type="chain">main</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="saveGeneralConfig" method="saveConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction">
+ <result name="success" type="chain">main</result>
+ <result name="error_validation">/jsp/editGeneralConfig.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <result name="notallowed" type="chain">main</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="backGeneralConfig" method="back" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction">
+ <result name="success" type="chain">main</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
-
</package>
</struts> \ No newline at end of file