render()
Usage
render(nodes)
render(node)
Description
Renders the HTML representation of the given node(s) into the output buffer. This method is exactly equivalent to the rendering process that Structr uses internally to create the HTML output of pages etc. It can be used to render dynamic content in pages with placeholders etc.
Together with include()
, render()
is one of the the most important method when dealing with HTML web templates, since it allows the user to fill static HTML pages with dynamic content from the underlying node structure. See Page Rendering for more information on this topic.
Example
${render(children)}