Points a content page at its template page.
<netui-template:template
[documentType="documentType"]
[reportErrors="boolean_reportErrors"]
templatePage="string_urlToTemplatePage" >
... JSP content ...
</netui-template:template>
Points a content page at its template page. A
content page interacts with its template page through children tags
of the
<netui-template:template> tag. The legal children are as follows:
The URL of the template page is specified by the templatePage
attribute on the
<netui-template:template> tag.
Attributes |
documentType |
Required: No | Type:
String |
Supports runtime evaluation / JSP Expression Language: Yes |
|
reportErrors |
Required: No | Type:
String |
Supports runtime evaluation / JSP Expression Language: Yes |
Boolean. Determines if the template should report errors.
The errors will be reported inline on the JSP page. |
templatePage |
Required: Yes | Type:
String |
Supports runtime evaluation / JSP Expression Language: Yes |
The URL of the template page to use. |
The following example shows a content page that adopts the template.jsp page as its template.
The content page also sets the "title" attribute on the template.
<netui-template:template templatePage="./template.jsp">
...
<netui-template:setAttribute name="title" value="Template Tags Sample"/>
...
</netui-template:template>
Tag Information |
Tag Class | org.apache.beehive.netui.tags.template.Template |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |