aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/resources/struts.xml
diff options
context:
space:
mode:
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