The body of this tag represents one page of content.
There must be at most one <core:page> tag per JSP file because the path to the page is determined by the servlet requestPath (or most recent <ao:include>).
When this page is directly accessed, the page is rendered with the
page content coming from the body of this tag. The page is captured in BODY
mode,
the view is resolved, and the page and view are forwarded to the theme to generate the output.
Tag Information
Tag Class: | com.semanticcms.core.taglib.PageTag |
---|---|
TagExtraInfo Class: | com.semanticcms.core.taglib.PageTagTEI |
Body Content: | scriptless |
Display Name: | None |
Dynamic Attributes: | true |
Attributes
Name | Required | Evaluation | Type | Description |
---|---|---|---|---|
book | No | Runtime | String |
The book containing the page. Defaults to the book of the current JSP file. |
path | No | Runtime | String |
The page-relative path to the page. Required when book provided. Defaults to the current JSP file. |
dateCreated | No | Runtime | Object |
The dateCreated in ISO 8601 format.
At least When dateCreated and datePublished are the same date, prefer datePublished because it seems to have more use overall than created. |
datePublished | No | Runtime | Object |
The datePublished in ISO 8601 format.
At least When dateCreated and datePublished are the same date, prefer datePublished because it seems to have more use overall than created. |
dateModified | No | Runtime | Object |
The dateModified in ISO 8601 format.
At least |
dateReviewed | No | Runtime | Object |
The dateReviewed in ISO 8601 format.
At least This has no equivalent in https://schema.org/, however we feel it is important to actively review content to ensure its accuracy, even when it has not been modified. |
serialization | No | Runtime | String |
When
This should normally be left with the default value of |
doctype | No | Runtime | String |
The <!DOCTYPE> to use,
must be one of
When
|
autonli | No | Runtime | String |
When
|
indent | No | Runtime | String |
When
|
title | Yes | Runtime | String |
The title of the page. |
shortTitle | No | Runtime | String |
The optional short title of the page. A short title is used when the context of a page is well established, such as when showing a path to the current location in the site. The short title defaults to the page title. |
description | No | Runtime | String |
The optional description of the page. |
keywords | No | Runtime | String |
The optional comma-separated keywords of the page. |
allowRobots | No | Runtime | String |
Controls whether robots will be allowed to access this page.
When not allowed, a page will have Possible values are:
Defaults to |
toc | No | Runtime | String |
Includes a table of contents at the top of the page. Possible values are:
Defaults to |
tocLevels | No | Runtime | int |
The number of levels to display in the table of contents. Must be between 1 and 5. Defaults to 3. |
allowParentMismatch | No | Runtime | boolean |
When Parent-child relationships are never verified to parents from missing books.
Defaults to Use of this can result in this page being orphaned, where this page and its child pages are not included in site traversals, such as for tree views or searches. |
allowChildMismatch | No | Runtime | boolean |
When Child-parent relationships are never verified to children from missing books.
Defaults to Use of this can result in incomplete determination of the children page's location(s) within the overall site. |