public class DebugTemplate extends Template implements java.io.Serializable
A new HTML tag,
<debug>
is defined. Any text between the
<debug
and >
is printed on stderr,
along with the
session id and the url. Variable substitutions of the form
${...} are performed on the text.
The property debug
must be present for this template
to function. Otherwise, all debug
tags are removed.
debug
Constructor and Description |
---|
DebugTemplate() |
Modifier and Type | Method and Description |
---|---|
boolean |
init(RewriteContext hr)
Called before this template processes any tags.
|
void |
tag_debug(RewriteContext hr) |
public boolean init(RewriteContext hr)
Template
init
in interface TemplateInterface
init
in class Template
public void tag_debug(RewriteContext hr)