This tags defines the template to use within a content page. The
content page interacts with the template page through children tags
of the
Template tag. The legal children are as follows:
setAttribute -- A Tag that will set an Attribute on the
template.
section -- A tag that defines the content of a section
defined in the template.
The URL of the template file is set as the templatePage
attribute on the
Template tag. The Template file is included from
the Template tag and will include sections defined
in the content page. The content is contained in one or more
Section tags, which are children of the
Template tag. In addition, the content page can set
attributes of the template page.
SetAttributeAttributeSectionIncludeSection
The tag extension lifecycle method called after the tag has
processed the body. This method will include the template
JSP page specified by the templatePage attribute. The
contents of the template are made available to the template page.
SKIP_PAGE to skip all processing after the template. throws: JspException - on all errors. The most common error isan error indicating that the JSP page representing the Templateisn't found.
the tag extension lifecycle method called when the tag is first
encountered. This will cause the body of
the tag to be evaluated.
int indicating that the body should be evaluated. throws: JspException - on errors.
This boolean indicates if an ErrorReporter is reporting errors
or not. The caller should check this before calling addError
because the ErrorReporter may be off for some reason.
a boolean indicating if the tag is reporting errors or not.
public void setReportErrors(boolean reportErrors)(Code)
Set the boolean indicating that the template should report errors. The
errors will be reported through a HTML tag that must be found
in the template JSP.
Parameters: reportErrors - boolean indicating that errors should be reported
setTemplatePage
public void setTemplatePage(String templatePage)(Code)
Set the URL of the template to use. The templatePage
is an URL which
identifies the JSP template page.
Parameters: templatePage - - a URL pointing to a JSP page that represents thetemplate.
Fields inherited from org.apache.beehive.netui.tags.AbstractClassicTag