- Supporter render data using a template with
render
function
Template engine is 4D tags and the data are passed using $1
$data:=New object("lastname";"meso")
$router.get("/template";Formula($2.render(Folder(fk resources folder).file("template.html");$data)))
Template
<!--#4DEVAL $1.lastname -->
Bugs
- Fix
unregister
router with nonstrict
mode