Examples of keepPara()


Examples of com.jfinal.core.Controller.keepPara()

      //local 数据
      controller.setAttr("_localParas", request.getQueryString());
      controller.setAttr("_localUri", ai.getActionKey());
    }

    controller.keepPara("_webRootPath", "_localParas", "_localUri");
    //i18n
//    String tmp = controller.getCookie(Const.I18N_LOCALE);
//    String i18n = controller.getRequest().getLocale().toString();
//    if (!i18n.equals(tmp)) {
//      ai.getController().setCookie(Const.I18N_LOCALE, i18n, Const.DEFAULT_I18N_MAX_AGE_OF_COOKIE);
View Full Code Here

Examples of com.jfinal.core.Controller.keepPara()

      //local 数据
      controller.setAttr("_localParas", request.getQueryString());
      controller.setAttr("_localUri", ai.getActionKey());
    }

    controller.keepPara("_webRootPath", "_localParas", "_localUri");
    //i18n
//    String tmp = controller.getCookie(Const.I18N_LOCALE);
//    String i18n = controller.getRequest().getLocale().toString();
//    if (!i18n.equals(tmp)) {
//      ai.getController().setCookie(Const.I18N_LOCALE, i18n, Const.DEFAULT_I18N_MAX_AGE_OF_COOKIE);
View Full Code Here

Examples of com.jfinal.core.Controller.keepPara()

      //local 数据
      controller.setAttr("_localParas", request.getQueryString());
      controller.setAttr("_localUri", ai.getActionKey());
    }

    controller.keepPara("_webRootPath", "_localParas", "_localUri");
    //i18n
//    String tmp = controller.getCookie(Const.I18N_LOCALE);
//    String i18n = controller.getRequest().getLocale().toString();
//    if (!i18n.equals(tmp)) {
//      ai.getController().setCookie(Const.I18N_LOCALE, i18n, Const.DEFAULT_I18N_MAX_AGE_OF_COOKIE);
View Full Code Here

Examples of com.jfinal.core.Controller.keepPara()

      //local 数据
      controller.setAttr("_localParas", request.getQueryString());
      controller.setAttr("_localUri", ai.getActionKey());
    }
    ai.invoke();
    controller.keepPara("_webRootPath", "_localParas", "_localUri");
    //i18n
    String tmp = controller.getCookie(Const.I18N_LOCALE);
    String i18n = controller.getRequest().getLocale().toString();
    if (!i18n.equals(tmp)) {
      ai.getController().setCookie(Const.I18N_LOCALE, i18n, Const.DEFAULT_I18N_MAX_AGE_OF_COOKIE);
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.