Title component written in HTL, allowing to define a section heading.
- In-place editing
- Automatic reading of the page title from the current page, if no title text is defined
- HTML element configuration (
- Linkable to content pages, external URLs or page anchors
The Title component uses the
com.adobe.cq.wcm.core.components.models.Title Sling model as its Use-object.
Component Policy Configuration Properties
The following configuration properties are used:
./type- defines the default HTML heading element type (
h6) this component will use for its rendering
./linkDisabled- defines whether or not the title link is disabled
Edit Dialog Properties
The following properties are written to JCR for this Title component and are expected to be available as
./jcr:title- will store the text of the title to be rendered
./type- will store the HTML heading element type which will be used for rendering; if no value is defined, the component will fallback to the value defined by the component's policy
./linkURL- will allow definition of a content page path, external URL or page anchor for linking the title.
The component provides a
handling for dialog interaction. It is already included by its edit and design dialogs.
BLOCK cmp-title ELEMENT cmp-title__text ELEMENT cmp-title__link