Examples of mySave()


Examples of cn.iver.model.Reply.mySave()

    @Before({LoginInterceptor.class, ReplyValidator.class})
    public void save(){
        Reply reply = getModel(Reply.class).set("userID", getSessionAttr("userID"));
        int postID = reply.getInt("postID");
        reply.mySave(postID);
        forwardAction("/reply/" + postID + "-0");
    }

    /* ----------------------admin---------------------- */

 
View Full Code Here

Examples of cn.iver.model.User.mySave()

    }

    @Before(RegistValidator.class)
    public void save(){
        User user = getModel(User.class);
        user.mySave();
        setAttr("msg", "恭喜你,注册成功,请登录:");
        render("/user/login.html");
    }

    @Before(UserCheckInterceptor.class)
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.