aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/resources/struts.xml
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-04-03 10:05:38 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-04-03 10:05:38 +0200
commit80580d72ba7f5af54b77ef1b47c42005e0b5ded8 (patch)
tree67ac78fdc9a546f721a813727c384eb713bb773a /id/ConfigWebTool/src/main/resources/struts.xml
parent38f6c7b91e28ed17078812448b8a0b5a37c29321 (diff)
downloadmoa-id-spss-80580d72ba7f5af54b77ef1b47c42005e0b5ded8.tar.gz
moa-id-spss-80580d72ba7f5af54b77ef1b47c42005e0b5ded8.tar.bz2
moa-id-spss-80580d72ba7f5af54b77ef1b47c42005e0b5ded8.zip
refactor Struts action classes
Diffstat (limited to 'id/ConfigWebTool/src/main/resources/struts.xml')
-rw-r--r--id/ConfigWebTool/src/main/resources/struts.xml30
1 files changed, 12 insertions, 18 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml
index 0a2039ced..4b006ffd9 100644
--- a/id/ConfigWebTool/src/main/resources/struts.xml
+++ b/id/ConfigWebTool/src/main/resources/struts.xml
@@ -8,6 +8,8 @@
<constant name="struts.custom.i18n.resources" value="webpages" />
<constant name="struts.mapper.action.prefix.enabled" value="true" />
<constant name="struts.mapper.action.prefix.crossNamespaces" value="false" />
+ <constant name="struts.xwork.chaining.copyErrors" value="true"/>
+ <constant name="struts.xwork.chaining.copyMessages" value="true"/>
<package name="default" namespace="/" extends="struts-default">
@@ -15,14 +17,12 @@
<interceptors>
<interceptor-stack name="OwnStack">
-<!-- <interceptor-ref name="params">
+ <interceptor-ref name="params">
<param
- name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param>
- </interceptor-ref>
- <interceptor-ref name="i18n">
- </interceptor-ref> -->
- <interceptor-ref name="defaultStack" />
- </interceptor-stack>
+ name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param>
+ </interceptor-ref>
+ <interceptor-ref name="defaultStack" />
+ </interceptor-stack>
</interceptors>
<default-interceptor-ref name="OwnStack"/>
@@ -34,12 +34,7 @@
</result>
<interceptor-ref name="OwnStack"/>
</action>
-
- <action name="changeLanguage" method="changeLanguage" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction">
- <result name="success" type="chain">index</result>
- <interceptor-ref name="OwnStack"/>
- </action>
-
+
<action name="authenticate" method="authenticate" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction">
<result name="success" type="redirectAction">
<param name="actionName">main</param>
@@ -91,14 +86,13 @@
<interceptors>
<interceptor-stack name="OwnStack">
- <interceptor-ref name="defaultStack" />
<interceptor-ref name="params">
<param
name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param>
- </interceptor-ref>
- <interceptor-ref name="i18n">
- </interceptor-ref>
- </interceptor-stack>
+ </interceptor-ref>
+ <interceptor-ref name="chain"/>
+ <interceptor-ref name="defaultStack" />
+ </interceptor-stack>
</interceptors>
<default-interceptor-ref name="OwnStack"/>