mixin slanCompiler::TemplateWeblet

slanCompiler::TemplateWeblet

enhanced Weblet for rendering template.

m

const static ReqStash m := ReqStash.<ctor>()

req.stash[]

render

static Void render(Uri view, Func<Void>? lay := null)

render the template

req

static WebReq req()

The WebReq instance for this current web request. Raise an exception if the current actor thread is not serving a web request.

res

static WebRes res()

The WebRes instance for this current web request. Raise an exception if the current actor thread is not serving a web request.