void doRenderMulti(RapidoidThreadLocals locals, Writable output, List<Object> model) { // start using the render context RenderCtxImpl renderCtx = getRenderCtx(locals); renderCtx.out(output).factory(factory).filename(filename).multiModel(model); template.render(renderCtx); // stop using the render context renderCtx.reset(); }
void doRender(RapidoidThreadLocals locals, Writable output, Object model) { // start using the render context RenderCtxImpl renderCtx = getRenderCtx(locals); renderCtx.out(output).factory(factory).filename(filename).model(model); template.render(renderCtx); // stop using the render context renderCtx.reset(); }
void doRenderMulti(RapidoidThreadLocals locals, Writable output, List<Object> model) { // start using the render context RenderCtxImpl renderCtx = getRenderCtx(locals); renderCtx.out(output).factory(factory).filename(filename).multiModel(model); template.render(renderCtx); // stop using the render context renderCtx.reset(); }
void doRender(RapidoidThreadLocals locals, Writable output, Object model) { // start using the render context RenderCtxImpl renderCtx = getRenderCtx(locals); renderCtx.out(output).factory(factory).filename(filename).model(model); template.render(renderCtx); // stop using the render context renderCtx.reset(); }