
For example consider the following configuration template ~/resume/register.whiff
taken from the resume wizard
tutorial
{{env whiff.content_type: "text/html",
whiff.parse_cgi: true
/}}
{{include "whiff_middleware/session"}}
{{include "whiff_middleware/newProfile"}}
{{using user}} {{get-cgi user/}} {{/using}}
{{using password}} {{get-cgi password/}} {{/using}}
{{using password2}} {{get-cgi password2/}} {{/using}}
{{using page}} {{include "main"/}} {{/using}}
{{using elsePage}} {{include "registerform"/}} {{/using}}
{{/include}}
{{/include}}
main page, or on
failure returns to the registerform page.
The register template refers to 4 other applications. The location of the implementation of
each of the applications can be easily determined from the names used in the configuration file
INSTALL/whiff/middleware/session.py.
INSTALL/whiff/middleware/newProfile.py.
main.whiff in the same
directory as register.whiff.
registerform.whiff in the same
directory as register.whiff.