Update of 
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms
In directory 
james.mmbase.org:/tmp/cvs-serv23076/community/src/java/com/finalist/cmsc/community/forms

Modified Files:
        AbstractCommunityAction.java 
Log Message:
added constants


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms


Index: AbstractCommunityAction.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/AbstractCommunityAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- AbstractCommunityAction.java        29 Jan 2008 09:59:40 -0000      1.2
+++ AbstractCommunityAction.java        31 Jan 2008 12:59:17 -0000      1.3
@@ -1,12 +1,12 @@
 /*
 
-This software is OSI Certified Open Source Software.
-OSI Certified is a certification mark of the Open Source Initiative.
+ This software is OSI Certified Open Source Software.
+ OSI Certified is a certification mark of the Open Source Initiative.
 
-The license (Mozilla version 1.0) can be read at the MMBase site.
-See http://www.MMBase.org/license
+ The license (Mozilla version 1.0) can be read at the MMBase site.
+ See http://www.MMBase.org/license
 
-*/
+ */
 package com.finalist.cmsc.community.forms;
 
 import org.springframework.web.struts.ActionSupport;
@@ -21,23 +21,27 @@
  */
 public class AbstractCommunityAction extends ActionSupport {
 
+       protected static final String ACTION_ADD = "add";
+
+       protected static final String ACTION_EDIT = "edit";
+
     protected AuthenticationService getAuthenticationService() {
         WebApplicationContext ctx = getWebApplicationContext();
-        return (AuthenticationService)ctx.getBean("authenticationService");
+               return (AuthenticationService) 
ctx.getBean("authenticationService");
     }
 
     protected AuthorityService getAuthorityService() {
         WebApplicationContext ctx = getWebApplicationContext();
-        return (AuthorityService)ctx.getBean("authorityService");
+               return (AuthorityService) ctx.getBean("authorityService");
     }
 
     protected PersonService getPersonService() {
         WebApplicationContext ctx = getWebApplicationContext();
-        return (PersonService)ctx.getBean("personService");
+               return (PersonService) ctx.getBean("personService");
     }
 
     protected PreferenceService getPreferenceService() {
         WebApplicationContext ctx = getWebApplicationContext();
-        return (PreferenceService)ctx.getBean("preferenceService");
+               return (PreferenceService) ctx.getBean("preferenceService");
     }
 }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to