diff options
Diffstat (limited to 'id/ConfigWebTool/src/main/resources/struts.xml')
-rw-r--r-- | id/ConfigWebTool/src/main/resources/struts.xml | 84 |
1 files changed, 49 insertions, 35 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml index 55490788d..0a2039ced 100644 --- a/id/ConfigWebTool/src/main/resources/struts.xml +++ b/id/ConfigWebTool/src/main/resources/struts.xml @@ -15,11 +15,13 @@ <interceptors> <interceptor-stack name="OwnStack"> - <interceptor-ref name="defaultStack" /> - <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> + <interceptor-ref name="i18n"> + </interceptor-ref> --> + <interceptor-ref name="defaultStack" /> </interceptor-stack> </interceptors> <default-interceptor-ref name="OwnStack"/> @@ -30,7 +32,12 @@ <param name="actionName">main</param> <param name="namespace">/secure</param> </result> - <interceptor-ref name="defaultStack"/> + <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"> @@ -39,7 +46,7 @@ <param name="namespace">/secure</param> </result> <result name="error">/index.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="pvp2login" method="pvp2login" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction"> @@ -49,20 +56,20 @@ </result> <result name="newuser">/jsp/newUserRequest.jsp</result> <result name="error">/index.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="requestNewUser" method="requestNewUser" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction"> <result name="newuser">/jsp/newUserRequest.jsp</result> <result name="success">/index.jsp</result> <result name="error">/index.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="mailAddressVerification" method="mailAddressVerification" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction"> <result name="error">/index.jsp</result> <result name="success">/index.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="logout" method="logout" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction"> @@ -71,12 +78,12 @@ <param name="namespace">/</param> </result> <result name="ssologout" type="redirect">${ssologouturl}</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="error" method="error" class="at.gv.egovernment.moa.id.configuration.struts.action.IndexAction"> <result name="error">/error.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> </package> @@ -88,7 +95,9 @@ <interceptor-ref name="params"> <param name="excludeParams">^class\..*,^dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,^parameters\..*,^method:.*</param> - </interceptor-ref> + </interceptor-ref> + <interceptor-ref name="i18n"> + </interceptor-ref> </interceptor-stack> </interceptors> <default-interceptor-ref name="OwnStack"/> @@ -100,6 +109,11 @@ </result> </action> + <action name="changeLanguage" method="changeLanguage" class="at.gv.egovernment.moa.id.configuration.struts.action.MainAction"> + <result name="success" type="chain">main</result> + <interceptor-ref name="OwnStack"/> + </action> + <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> @@ -107,7 +121,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="listallapplications" method="listAllOnlineAppliactions" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction"> @@ -117,7 +131,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="searchOAInit" method="searchOAInit" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction"> @@ -126,7 +140,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="searchOA" method="searchOA" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction"> @@ -136,7 +150,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="newOA" method="newOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> @@ -147,7 +161,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="loadOA" method="inital" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> @@ -158,7 +172,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="bkuFramePreview" method="bkuFramePreview" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> @@ -166,7 +180,7 @@ <param name="contentType">text/html</param> <param name="inputName">stream</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="saveOA" method="saveOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> @@ -177,7 +191,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="cancleandbackOA" method="cancleAndBackOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> @@ -186,7 +200,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="deleteOA" method="deleteOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction"> @@ -196,7 +210,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="loadGeneralConfig" method="loadConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction"> @@ -207,7 +221,7 @@ <param name="namespace">/</param> </result> <result name="notallowed" type="chain">main</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="saveGeneralConfig" method="saveConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction"> @@ -219,7 +233,7 @@ <param name="namespace">/</param> </result> <result name="notallowed" type="chain">main</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="backGeneralConfig" method="back" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction"> @@ -229,7 +243,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="importexport" method="init" class="at.gv.egovernment.moa.id.configuration.struts.action.ImportExportAction"> @@ -239,7 +253,7 @@ <param name="namespace">/</param> </result> <result name="notallowed" type="chain">main</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="importlegacy" method="importLegacyConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.ImportExportAction"> @@ -251,7 +265,7 @@ </result> <result name="notallowed">/jsp/mainpage.jsp</result> <result name="error">/error.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="importConfig" method="importXMLConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.ImportExportAction"> @@ -263,7 +277,7 @@ </result> <result name="notallowed">/jsp/mainpage.jsp</result> <result name="error">/error.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="exportConfig" method="downloadXMLConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.ImportExportAction"> @@ -280,7 +294,7 @@ <result name="error_validation">/jsp/importexport.jsp</result> <result name="notallowed">/jsp/mainpage.jsp</result> <result name="error">/error.jsp</result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="usermanagementInit" method="init" class="at.gv.egovernment.moa.id.configuration.struts.action.UserManagementAction"> @@ -291,7 +305,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="createUser" method="createuser" class="at.gv.egovernment.moa.id.configuration.struts.action.UserManagementAction"> @@ -302,7 +316,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="editUser" method="edituser" class="at.gv.egovernment.moa.id.configuration.struts.action.UserManagementAction"> @@ -312,7 +326,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="deleteUser" method="deleteuser" class="at.gv.egovernment.moa.id.configuration.struts.action.UserManagementAction"> @@ -323,7 +337,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="saveUser" method="saveuser" class="at.gv.egovernment.moa.id.configuration.struts.action.UserManagementAction"> @@ -335,7 +349,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="sendVerificationMail" method="sendVerificationMail" class="at.gv.egovernment.moa.id.configuration.struts.action.UserManagementAction"> @@ -343,7 +357,7 @@ <param name="contentType">text/html</param> <param name="inputName">stream</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> <action name="adminRequestsInit" method="init" class="at.gv.egovernment.moa.id.configuration.struts.action.OpenAdminRequestsAction"> @@ -354,7 +368,7 @@ <param name="actionName">logout</param> <param name="namespace">/</param> </result> - <interceptor-ref name="defaultStack"/> + <interceptor-ref name="OwnStack"/> </action> </package> |