2829303132333435
public WebitResult() { super(NAME); this.targetCache = new HashMap<String, String>(); this.engineManager = new WebEngineManager(this) .setProperties(CFG.APPEND_LOST_SUFFIX, Boolean.TRUE); }
3031323334353637
} public WebitRenderFactory(String suffix) { this.suffix = suffix; this.engineManager = new WebEngineManager(JFinal.me().getServletContext()) .appendProperties(CFG.RESOLVERS, "webit.script.support.jfinal.ModelResolver, webit.script.support.jfinal.RecordResolver"); }
2728293031323334
protected final WebEngineManager engineManager; public WebitResult() { super(NAME); this.engineManager = new WebEngineManager(this) .setProperties(CFG.APPEND_LOST_SUFFIX, Boolean.TRUE); }
3132333435363738394041
} public WebitViewResolver() { setViewClass(requiredViewClass()); this.engineManager = new WebEngineManager(new ServletContextProvider() { public ServletContext getServletContext() { return WebitViewResolver.this.getServletContext(); } });