Package com.dotmarketing.portlets.user.struts

Examples of com.dotmarketing.portlets.user.struts.UserAdditionalInfoForm


   
    public void processAction(
            ActionMapping mapping, ActionForm form, PortletConfig config,
            ActionRequest req, ActionResponse res)
    throws Exception {
    UserAdditionalInfoForm userAdditionalInfoForm = (UserAdditionalInfoForm) form;
      
    String referer = req.getParameter("referer");
   
    String cmd = req.getParameter(Constants.CMD);   
    User user = _getUser(req);
View Full Code Here


   
    ///// ************** ALL METHODS HERE *************************** ////////
   
    public void _saveUserAdittionalInfo(ActionRequest req, ActionResponse res,PortletConfig config,ActionForm form, User user)
    throws Exception {
      UserAdditionalInfoForm userAdditionalInfoForm = (UserAdditionalInfoForm) form;

    UserProxy userProxy = com.dotmarketing.business.APILocator.getUserProxyAPI().getUserProxy(userAdditionalInfoForm.getUserProxy(),APILocator.getUserAPI().getSystemUser(), false);

    int numberGenericVariables = Config.getIntProperty("MAX_NUMBER_VARIABLES_TO_SHOW");
    for (int i=1; i<=numberGenericVariables; i++) {
      userProxy.setVar(i, userAdditionalInfoForm.getVar(i));
    }
   
    com.dotmarketing.business.APILocator.getUserProxyAPI().saveUserProxy(userProxy,APILocator.getUserAPI().getSystemUser(), false);
    }
View Full Code Here

TOP

Related Classes of com.dotmarketing.portlets.user.struts.UserAdditionalInfoForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.