<core:child>

Adds the given page as a subpage of the current page. This tag only represents the relationship, so body content is not allowed. It is permissible to have a child in a missing book.

To build the relationship between pages and subpages, the page should include <core:child> tags for each child page within the body of the <core:page> tag.

Due to optimizations during page-only capturing, the child pages must be added directly in the page body, not from within other nested elements.

Unless allowChildMismatch is enabled on the <core:page>, the child must also consider this page as a parent.

Tag Information

Tag Class: com.semanticcms.core.taglib.ChildTag
TagExtraInfo Class: None
Body Content: empty
Display Name: None

Attributes

Name Required Evaluation Type Description
book No Runtime String

The book containing the child page. Defaults to the book of the current JSP file.

page Yes Runtime String

The page-relative path to the child page.

Variables

No Variables Defined.