Update of
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms
In directory
james.mmbase.org:/tmp/cvs-serv13333/src/java/com/finalist/cmsc/community/forms
Modified Files:
UserAddAction.java IndexAction.java
AbstractCommunityAction.java UserForm.java
UserAddInitAction.java
Log Message:
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms
Index: UserAddAction.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/UserAddAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- UserAddAction.java 25 Jan 2008 13:03:32 -0000 1.1
+++ UserAddAction.java 29 Jan 2008 09:59:40 -0000 1.2
@@ -1,13 +1,20 @@
-package com.finalist.cmsc.community.forms;
+/*
-import org.apache.struts.action.Action;
-import org.apache.struts.action.ActionForward;
-import org.apache.struts.action.ActionMapping;
-import org.apache.struts.action.ActionForm;
+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
+
+*/package com.finalist.cmsc.community.forms;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+
/**
* @author Remco Bos
*/
Index: IndexAction.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/IndexAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- IndexAction.java 25 Jan 2008 13:03:32 -0000 1.1
+++ IndexAction.java 29 Jan 2008 09:59:40 -0000 1.2
@@ -1,20 +1,25 @@
-package com.finalist.cmsc.community.forms;
+/*
-import org.apache.struts.action.Action;
-import org.apache.struts.action.ActionForward;
-import org.apache.struts.action.ActionMapping;
-import org.apache.struts.action.ActionForm;
-import org.springframework.web.context.support.WebApplicationContextUtils;
-import org.springframework.web.context.WebApplicationContext;
-import org.springframework.web.struts.ActionSupport;
+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
+
+*/
+package com.finalist.cmsc.community.forms;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import com.finalist.cmsc.services.community.security.AuthenticationService;
-import com.finalist.cmsc.services.community.person.PersonService;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+/**
+ * @author Remco Bos
+ */
public class IndexAction extends AbstractCommunityAction {
public ActionForward execute(ActionMapping actionMapping, ActionForm
actionForm, HttpServletRequest httpServletRequest, HttpServletResponse
httpServletResponse) throws Exception {
Index: AbstractCommunityAction.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/AbstractCommunityAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- AbstractCommunityAction.java 25 Jan 2008 13:03:32 -0000 1.1
+++ AbstractCommunityAction.java 29 Jan 2008 09:59:40 -0000 1.2
@@ -1,9 +1,20 @@
+/*
+
+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
+
+*/
package com.finalist.cmsc.community.forms;
import org.springframework.web.struts.ActionSupport;
import org.springframework.web.context.WebApplicationContext;
import com.finalist.cmsc.services.community.security.AuthenticationService;
+import com.finalist.cmsc.services.community.security.AuthorityService;
import com.finalist.cmsc.services.community.person.PersonService;
+import com.finalist.cmsc.services.community.preferences.PreferenceService;
/**
* @author Remco Bos
@@ -15,8 +26,18 @@
return (AuthenticationService)ctx.getBean("authenticationService");
}
+ protected AuthorityService getAuthorityService() {
+ WebApplicationContext ctx = getWebApplicationContext();
+ return (AuthorityService)ctx.getBean("authorityService");
+ }
+
protected PersonService getPersonService() {
WebApplicationContext ctx = getWebApplicationContext();
return (PersonService)ctx.getBean("personService");
}
+
+ protected PreferenceService getPreferenceService() {
+ WebApplicationContext ctx = getWebApplicationContext();
+ return (PreferenceService)ctx.getBean("preferenceService");
+ }
}
Index: UserForm.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/UserForm.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- UserForm.java 25 Jan 2008 13:03:32 -0000 1.1
+++ UserForm.java 29 Jan 2008 09:59:40 -0000 1.2
@@ -1,17 +1,27 @@
-package com.finalist.cmsc.community.forms;
+/*
+
+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
+
+*/package com.finalist.cmsc.community.forms;
+
+import javax.servlet.http.HttpServletRequest;
-import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
+import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
-import javax.servlet.http.HttpServletRequest;
-
/**
* @author Remco Bos
*/
public class UserForm extends ActionForm {
+ private static final long serialVersionUID = 1L;
+
private String action;
private String email;
Index: UserAddInitAction.java
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Modules/community/src/java/com/finalist/cmsc/community/forms/UserAddInitAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- UserAddInitAction.java 25 Jan 2008 13:03:32 -0000 1.1
+++ UserAddInitAction.java 29 Jan 2008 09:59:40 -0000 1.2
@@ -1,13 +1,20 @@
-package com.finalist.cmsc.community.forms;
+/*
-import org.apache.struts.action.Action;
-import org.apache.struts.action.ActionForward;
-import org.apache.struts.action.ActionMapping;
-import org.apache.struts.action.ActionForm;
+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
+
+*/package com.finalist.cmsc.community.forms;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
+import org.apache.struts.action.ActionForm;
+import org.apache.struts.action.ActionForward;
+import org.apache.struts.action.ActionMapping;
+
/**
* @author Remco Bos
*/
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs