diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2013-07-29 16:18:47 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2013-07-29 16:18:47 +0200 |
commit | 4e33913549b65ec9b16b4d0f3ffea9f97279ca65 (patch) | |
tree | cb576840181390c41e6ae04fa14d10e455a4d3cd /id/ConfigWebTool/src/main/resources/struts.xml | |
parent | 99694b29f82f858f5b6163e6a3d6c11caaeb487e (diff) | |
download | moa-id-spss-4e33913549b65ec9b16b4d0f3ffea9f97279ca65.tar.gz moa-id-spss-4e33913549b65ec9b16b4d0f3ffea9f97279ca65.tar.bz2 moa-id-spss-4e33913549b65ec9b16b4d0f3ffea9f97279ca65.zip |
configuration tool update
Diffstat (limited to 'id/ConfigWebTool/src/main/resources/struts.xml')
-rw-r--r-- | id/ConfigWebTool/src/main/resources/struts.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml index 9faaaeceb..34e11c7c9 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"/> @@ -31,7 +33,23 @@ <interceptor-ref name="defaultStack"/> </action> - + <action name="loadOA" method="inital" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> + <result name="oa_general">/jsp/editOAGeneral.jsp</result> + <result name="error">/error.jsp</result> + <interceptor-ref name="defaultStack"/> + </action> + + <action name="saveGeneral" method="saveGeneral" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> + <result name="success" type="chain">main</result> + <result name="error">/jsp/editOAGeneral.jsp</result> + <interceptor-ref name="defaultStack"/> + </action> + + <action name="cancleandback" method="cancleAndBack" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> + <result type="chain">main</result> + <interceptor-ref name="defaultStack"/> + </action> + </package> </struts>
\ No newline at end of file |