mixin slanWeb::SlanWeblet
slanWeb::SlanWeblet : web::Weblet
enhanced Weblet for rendering template.
- compileJs
-
Str compileJs(Uri fwt, Map<Str,Str> env := ["fwt.window.root":"fwt-root"])
compile js file.
- esc
-
escape the xml control characters
- onService
-
virtual override Void onService()
- render
-
virtual Void render(Uri view, Func<Void>? lay := null)
render the template
- sendObj
- setContentType
- stash
-
Void stash(Str name, Obj? obj)
set param
- stashId
-
Str? stashId()
id is the first word of unnecessary uri