View Template: Help
This page is used to provide a user-friendly view of a
template file. Template files are used to hold the presentation
information for a page, separating it from the application logic
which organizes information obtained from the server or the network.
The page displays the template in two forms:
- The left half of the page displays the template as it
implements the presentation. That is each element of the
template is displayed as it will appear to the end user,
except that substitution points, where information is inserted
from the web-server, appear as either a dollar sign
followed by the name of the substitution point, for example
$PAGE, or as the name of the substitution point enclosed in
ouble curly braces, for example {{PAGE}}. In addition all
of the popup dialogs, which are normally hidden until invoked
by user action, are displayed. Note that the TRACE insertion
point is displayed according to the CSS class "warning" which
defaults to dark yellow text,
while the MSG insertion point is displayed according to the
CSS class "error" which defaults to
red text.
- The right half of the page displays the raw HTML, or XML,
or JSON, of the template.
Note that in displaying the template some of the functionality
of the template is executed. This provides the opportunity to
identify some design errors.
If there are any user input form elements which do
not have associated popup Help text, this will show up in the
console log of the page, which you can view using browser tools.
The page load event handler method, if defined in the Javascript
code for the page, is executed.