You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/06/12 19:49:00 UTC
svn commit: r413735 - /incubator/lokahi/lokahi/trunk/conf/struts-config.xml
Author: toback
Date: Mon Jun 12 12:49:00 2006
New Revision: 413735
URL: http://svn.apache.org/viewvc?rev=413735&view=rev
Log:
Updated mappings to reflect new package space of classes.
Modified:
incubator/lokahi/lokahi/trunk/conf/struts-config.xml
Modified: incubator/lokahi/lokahi/trunk/conf/struts-config.xml
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/conf/struts-config.xml?rev=413735&r1=413734&r2=413735&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/struts-config.xml (original)
+++ incubator/lokahi/lokahi/trunk/conf/struts-config.xml Mon Jun 12 12:49:00 2006
@@ -357,54 +357,64 @@
<!-- I am incredibly lazy I know... -toback
so here is the reference url:
http://jakarta.apache.org/struts/userGuide/building_controller.html#action_mapping_wildcards -->
- <action
- path="/administration/*Action"
- type="org.apache.lokahi.actions.{1}Action"
- name="{1}Form"
- scope="request"
- validate="true"
- >
- </action>
+ <action path="/administration/AlertAction" type="org.apache.lokahi.core.gui.www.AlertAction" name="AlertForm" scope="request" validate="true" />
+ <action path="/administration/ApacheAction" type="org.apache.lokahi.httpd.gui.www.ApacheAction" name="ApacheForm" scope="request" validate="true" />
+ <action path="/administration/ApachePoolAction" type="org.apache.lokahi.httpd.gui.www.ApachePoolAction" name="ApachePoolForm" scope="request" validate="true" />
+ <action path="/administration/ApacheWorkerAction" type="org.apache.lokahi.httpd.gui.www.ApacheWorkerAction" name="ApacheWorkerForm" scope="request" validate="true" />
+ <action path="/administration/ContextAction" type="org.apache.lokahi.tomcat.gui.www.ContextAction" name="ContextForm" scope="request" validate="true" />
+ <action path="/administration/EnvironmentAction" type="org.apache.lokahi.core.gui.www.EnvironmentAction" name="EnvironmentForm" scope="request" validate="true" />
+ <action path="/administration/FileAction" type="org.apache.lokahi.core.gui.www.FileAction" name="FileForm" scope="request" validate="true" />
+ <action path="/administration/HardwareAction" type="org.apache.lokahi.core.gui.www.HardwareAction" name="HardwareForm" scope="request" validate="true" />
+ <action path="/administration/HostingPoolAction" type="org.apache.lokahi.core.gui.www.HostingPoolAction" name="HostingPoolForm" scope="request" validate="true" />
+ <action path="/administration/InstanceAction" type="org.apache.lokahi.core.gui.www.InstanceAction" name="InstanceForm" scope="request" validate="true" />
+ <action path="/administration/ProjectAction" type="org.apache.lokahi.core.gui.www.ProjectAction" name="ProjectForm" scope="request" validate="true" />
+ <action path="/administration/TomcatAction" type="org.apache.lokahi.tomcat.gui.www.TomcatAction" name="TomcatForm" scope="request" validate="true" />
+ <action path="/administration/TomcatPoolAction" type="org.apache.lokahi.tomcat.gui.www.TomcatPoolAction" name="TomcatPoolForm" scope="request" validate="true" />
+ <action path="/administration/TomcatWorkerAction" type="org.apache.lokahi.tomcat.gui.www.TomcatWorkerAction" name="TomcatWorkerForm" scope="request" validate="true" />
+ <action path="/administration/UserAction" type="org.apache.lokahi.core.gui.www.UserAction" name="UserForm" scope="request" validate="true" />
+ <action path="/administration/VirtualHostAction" type="org.apache.lokahi.httpd.gui.www.VirtualHostAction" name="VirtualHostForm" scope="request" validate="true" />
<action
path="/User/*Action"
type="org.apache.lokahi.core.gui.www.UserAction"
name="{1}Form"
scope="request"
validate="true"
- >
- </action>
+ />
<action
path="/help/HelpItemAction"
type="org.apache.lokahi.core.gui.help.HelpItemAction"
name="HelpItemForm"
scope="request"
validate="true"
- >
- </action>
- <action
- path="/*/SubmitJobAction"
- type="org.apache.lokahi.actions.{1}Action"
- name="{1}MultipleForm"
- scope="request"
- validate="true"
- >
- </action>
- <action
- path="/administration/*/Delete"
- type="org.apache.lokahi.actions.{1}Action"
- name="DeleteForm"
- scope="request"
- validate="true"
- > <!-- mapping is fubared -->
- </action>
+ />
+ <action path="/ApachePool/SubmitJobAction" type="org.apache.lokahi.tomcat.gui.www.ApachePoolAction" name="ApachePoolMultipleForm" scope="request" validate="true" />
+ <action path="/ApacheWorker/SubmitJobAction" type="org.apache.lokahi.tomcat.gui.www.ApacheWorkerAction" name="ApacheWorkerMultipleForm" scope="request" validate="true" />
+ <action path="/Context/SubmitJobAction" type="org.apache.lokahi.tomcat.gui.www.ContextAction" name="ContextMultipleForm" scope="request" validate="true" />
+ <action path="/HostingPool/SubmitJobAction" type="org.apache.lokahi.core.gui.www.HostingPoolAction" name="HostingPoolMultipleForm" scope="request" validate="true" />
+ <action path="/TomcatPool/SubmitJobAction" type="org.apache.lokahi.tomcat.gui.www.TomcatPoolAction" name="TomcatPoolMultipleForm" scope="request" validate="true" />
+ <action path="/TomcatWorker/SubmitJobAction" type="org.apache.lokahi.tomcat.gui.www.TomcatWorkerAction" name="TomcatWorkerMultipleForm" scope="request" validate="true" />
+ <action path="/administration/Apache/Delete" type="org.apache.lokahi.tomcat.gui.www.ApacheAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/ApachePool/Delete" type="org.apache.lokahi.tomcat.gui.www.ApachePoolAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/ApacheWorker/Delete" type="org.apache.lokahi.tomcat.gui.www.ApacheWorkerAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/Context/Delete" type="org.apache.lokahi.tomcat.gui.www.ContextAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/Environment/Delete" type="org.apache.lokahi.core.gui.www.EnvironmentAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/File/Delete" type="org.apache.lokahi.core.gui.www.FileAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/Hardware/Delete" type="org.apache.lokahi.core.gui.www.HardwareAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/HostingPool/Delete" type="org.apache.lokahi.core.gui.www.HostingPoolAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/Instance/Delete" type="org.apache.lokahi.core.gui.www.InstanceAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/Project/Delete" type="org.apache.lokahi.core.gui.www.ProjectAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/Tomcat/Delete" type="org.apache.lokahi.tomcat.gui.www.TomcatAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/TomcatPool/Delete" type="org.apache.lokahi.tomcat.gui.www.TomcatPoolAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/TomcatWorker/Delete" type="org.apache.lokahi.tomcat.gui.www.TomcatWorkerAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/User/Delete" type="org.apache.lokahi.core.gui.www.UserAction" name="DeleteForm" scope="request" validate="true" />
+<action path="/administration/VirtualHost/Delete" type="org.apache.lokahi.tomcat.gui.www.VirtualHostAction" name="DeleteForm" scope="request" validate="true" />
<action
path="/templating/*Action"
type="org.apache.lokahi.core.gui.www.TemplateAction"
name="{1}TemplateForm"
scope="request"
validate="true"
- >
- </action>
+ />
<action path="/Authenticate"
type="org.apache.lokahi.core.gui.www.Authorization"
name="authForm"