Package si.unimb.cot.mgbl.gameauth.formbeans

Examples of si.unimb.cot.mgbl.gameauth.formbeans.MagobalAuthorForm.reset()


    //super.defaultMethod(am, af, req, res);
   
    //TODO security
   
    MagobalAuthorForm form=(MagobalAuthorForm)af;
    if (req.getParameter("startAuthoring")!=null) form.reset();
   
    form.setMyUserId(webUser.getId());
   
    if (req.getParameter("cancelInsertSubmit")!=null) {
      return am.findForward("ok");
View Full Code Here


    if (req.getParameter("cancelInsertSubmit")!=null) {
      return am.findForward("ok");
    }
   
    if (req.getParameter("cancelChangesSubmit")!=null) {
      form.reset();
      return am.findForward("cancel");
    }
   
    long id=Long.parseLong(req.getParameter("id"));
    GameHiber g=GameDao.findGameHiber(id,session);
View Full Code Here

      //TODO - Wo  what if some scores exist... scale them???
      //for now we just "forget" them...

      if (!SecurityCenter.canIEditGame(webUser.getId(), g.getId(),session)) {
        MessageBean.setMyMessage(req, ("Error: Insufficient privileges."));
        form.reset();
        return am.findForward("list");
      }
     
      g.setMaksimumScore(form.getMaxScores());
     
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.