wcmInit (deprecated)

On the author instance, this component initalizes the edit mode and loads all required client libs. Supports both Touch UI and Classic UI.

Usage in your page component Sightly template:

  <meta data-sly-resource="${'.' @ resourceType='adaptto/components/global/wcmInit' }"

ClassicUI custom widget clientlibs

If you want have specifying a set of custom client library categories (only useful for Classic UI) you can create a subcomponent and specifiy additonal property.

Component definition for subcomponent:

  "jcr:primaryType": "cq:Component",
  "sling:resourceSuperType": "wcm-io/wcm/commons/components/global/wcmInit"

Markup for subcomponent:

        @ clientLibCategoriesClassicUI='cq.wcm.edit,myapp.widgets1,myapp.widgets2'}"

page (deprecated)

Base page component which defines a simplified page properties dialog with only basic features.

You can inherit from this in you page components:

  "jcr:primaryType": "cq:Component",
  "sling:resourceSuperType": "wcm-io/wcm/commons/components/global/page"

Back to top

Version: 1.10.1-SNAPSHOT. Last Published: 2024-06-18.