xmlet/HtmlFlow

Dynamic html to string wrong

EkkoNunu opened this issue · 2 comments

Wrong use of DynamicView! You should provide a model parameter or use a static view instead! method render(T mode), How to define T mode???

It is not mode, but model instead. Sometimes called context object in template engines. If you do not have any context object (model) to bind to the view then you should use StaticHtml rather than DynamicHtml.

@EkkoNunu Does this solve your issue?