Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/WEB-INF
In directory james.mmbase.org:/tmp/cvs-serv23877/community/src/webapp/WEB-INF

Modified Files:
        struts-community.xml 
Log Message:
added groups


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/WEB-INF


Index: struts-community.xml
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/WEB-INF/struts-community.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- struts-community.xml        31 Jan 2008 14:19:01 -0000      1.3
+++ struts-community.xml        6 Feb 2008 15:11:26 -0000       1.4
@@ -2,19 +2,33 @@
 <!DOCTYPE struts-config PUBLIC
           "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
           "http://struts.apache.org/dtds/struts-config_1_2.dtd";>
-          
 <struts-config>
-
-<!-- Data Sources Definitions -->
-<!-- Form Bean Definitions -->
+   <!-- Data Sources Definitions -->
+   <!-- Form Bean Definitions -->
   <form-beans>
     <form-bean name="communityUserForm" 
type="com.finalist.cmsc.community.forms.UserForm" />
+      <form-bean name="communityGroupForm" 
type="com.finalist.cmsc.community.forms.GroupForm" />
   </form-beans>
-
-<!-- Global Exceptions Definitions -->
-<!-- Global Forward Definitions -->
-<!-- Action Mapping Definitions -->
+   <!-- Global Exceptions Definitions -->
+   <!-- Global Forward Definitions -->
+   <!-- Action Mapping Definitions -->
    <action-mappings>
+      <!-- ==== Group management ==== -->
+      <action path="/editors/community/deleteGroupAction" 
type="com.finalist.cmsc.community.forms.DeleteGroupAction"
+         unknown="false" validate="false">
+         <forward name="success" path="/editors/community/index.jsp" 
redirect="false" />
+      </action>
+      <action path="/editors/community/groupAction" 
type="com.finalist.cmsc.community.forms.GroupAction"
+         name="communityGroupForm" scope="session" 
input="/editors/community/group.jsp" unknown="false"
+         validate="true">
+         <set-property property="cancellable" value="true" />
+         <forward name="success" path="/editors/community/index.jsp" 
redirect="false" />
+      </action>
+      <action path="/editors/community/groupInitAction" 
type="com.finalist.cmsc.community.forms.GroupInitAction"
+         name="communityGroupForm" scope="session" unknown="false" 
validate="false">
+         <forward name="success" path="/editors/community/group.jsp" 
redirect="false" />
+      </action>
+      <!-- ==== User management ==== -->
       <action path="/editors/community/IndexAction" 
type="com.finalist.cmsc.community.forms.IndexAction"
          validate="false" unknown="true">
          <forward name="success" path="/editors/community/index.jsp" 
redirect="false" />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to