Package evolaris.platform.smssvc.web.form

Examples of evolaris.platform.smssvc.web.form.TimerEventEnterOrEditForm.initialize()


    TimerEventEnterOrEditForm f = (TimerEventEnterOrEditForm)form;
    Object newEntry = req.getSession().getAttribute("newTimerEvent");
    if (newEntry == null || !(newEntry instanceof TimerEvent)){
      return mapping.findForward("cancelled");
    }
    f.initialize((TimerEvent)newEntry,locale,session,getResources(req));
    return mapping.findForward("continue");
  }
 
  @Override
  public ActionForward cancel(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse resp) {
View Full Code Here


      throw new InputException(getResources(req).getMessage(locale, "admin.entryNotAvailable"),"new timer event entry not found in session",null,null);
    }
   
    // reload references in current session
    TimerEvent newTimerEvent = (TimerEvent)newEntry;
    f.initialize(newTimerEvent,locale,session,getResources(req));
    newTimerEvent = new TimerEvent();
    f.toEntry(newTimerEvent, locale, session, getResources(req));
    checkAccessRights(req, newTimerEvent.getGroup(),null);
   
    // group assignment is not editable => perform source to destination automatically
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.