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

Modified Files:
        spring-community.xml struts-community.xml 
Log Message:
CMSC-944,Create overview screen for Community Preferences


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/WEB-INF
See also: http://www.mmbase.org/jira/browse/CMSC-944


Index: spring-community.xml
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/WEB-INF/spring-community.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- spring-community.xml        8 Feb 2008 10:33:13 -0000       1.5
+++ spring-community.xml        10 Jun 2008 11:55:03 -0000      1.6
@@ -65,5 +65,10 @@
   <bean name="preferenceService" 
class="com.finalist.cmsc.services.community.preferences.PreferenceHibernateService"
 />
   <bean name="personService" 
class="com.finalist.cmsc.services.community.person.PersonHibernateService" />
   
+  <!-- Actions -->
+  <bean name="/editors/community/PreferenceAction" 
class="com.finalist.cmsc.community.forms.PreferenceAction">
+      <property name="preferenceService"><ref 
bean="preferenceService"></ref></property>
+  </bean>
+  
   <import resource="spring-security.xml" />
 </beans>


Index: struts-community.xml
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/webapp/WEB-INF/struts-community.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- struts-community.xml        31 Mar 2008 19:49:02 -0000      1.5
+++ struts-community.xml        10 Jun 2008 11:55:03 -0000      1.6
@@ -8,6 +8,7 @@
    <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-bean name="preferenceForm" 
type="com.finalist.cmsc.community.forms.PreferenceForm" />
    </form-beans>
    <!-- Global Exceptions Definitions -->
    <!-- Global Forward Definitions -->
@@ -46,6 +47,13 @@
          unknown="false" validate="false">
          <forward name="success" path="/editors/community/index.jsp" 
redirect="false" />
       </action>
+     <!-- ==== Reference management ==== -->
+      <action path="/editors/community/PreferenceAction" name="preferenceForm" 
type="org.springframework.web.struts.DelegatingActionProxy"
+         validate="false" unknown="true" parameter="method">
+         <forward name="success" 
path="/editors/community/preferencesearch.jsp" redirect="false" />
+         <forward name="list" 
path="/editors/community/PreferenceAction.do?method=list" redirect="false" />
+         <forward name="init" path="/editors/community/preferenceadd.jsp" 
redirect="false" />
+      </action>
    </action-mappings>
    <message-resources parameter="cmsc-community" key="COMMUNITY" />
 </struts-config>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to