On Mon, Jun 20, 2011 at 10:40 PM, Anthony <[email protected]> wrote:

> {{include 'pat/to/file'}}
>
>  Note, the template doesn't have to be purely static for the above to
> work. Look at web2py_ajax.html, for example -- it is included in layout.html
> but is not static.
>  Anthony
>

Your're right, but. the parsing will be executed before the inclusion, the
destiny page will receive a formed html string to embed there, not a
template to be parsed. so to share values needs to use globals.

Reply via email to