Page

/libs/granite/ui/components/foundation/page

The generic page component to create any HTML page.

It reads the current request locale and set lang attribute of html element. Also dictionary for i18n is configured.

It has the following content structure:

granite:Page
consoleIdstring

A general purpose ID to uniquely identify the console.

The recommended value is hierarchical separated by “-“. e.g. “cq-commerce-report”

jcr:titlestring

To render the title of the page, resource at head/title is first inspected. If it doesn’t exist, this property is used accordingly; otherwise do nothing—i.e. the title at head/title is included naturally.</p>

redirector

To redirect the page, this resource can be specified. It will be included, where the redirect can be performed.

head

Indicates the head of the page. The child resources are iterated and included as is.

body

Indicates the body of the page, which typically a Body.

Components: