Web MVC Framework Example Application #4 -- Main View

Template Toolkit Version

[% INCLUDE "README-tt.txt" %]

Click me to reload this page...

The purpose of this example application is to demonstrate the use of the "CGIAPP.embed()" statement within Template::Toolkit objects, which are used to display the content of one run mode within another run mode. Inspect this source .html file to see how "CGIAPP.embed()" is used.

Number of times you have loaded this page: [% load_count %]

1.
[% CGIAPP.embed("outer_component") %]
2.
[% CGIAPP.embed("outer_component") %]

Number of times you have loaded this page: [% load_count %]