All Downloads are FREE. Search and download functionalities are using the official Maven repository.

SLING-INF.app-root.components.title.v3.title.json Maven / Gradle / Ivy

{
  "jcr:primaryType": "cq:Component",
  "jcr:title": "wcm.io Title (v3)",
  "componentGroup": ".wcmio-core-wcm",
  "sling:resourceSuperType": "core/wcm/components/title/v3/title",

  /* Fallback mode for Link Handler to support existing content that used a single property name */
  "wcmio:linkTargetUrlFallbackProperty": "linkURL",

  "cq:dialog": {
    "jcr:primaryType": "nt:unstructured",
    "content": {
      "items": {
        "tabs": {
          "items": {
            "properties": {
              "items": {
                "columns": {
                  "items": {
                    "column": {
                      "items": {
                        /* hide link and replace it with wcm.io Link dialog */
                        "sling:hideChildren": ["link"]
                      }
                    }
                  }
                }
              }
            },

            /* wcm.io Link Handler Tab */
            "link": {
              "sling:orderBefore": "styletab",
              "sling:resourceType": "granite/ui/components/coral/foundation/include",
              "path": "wcm-io/handler/link/components/global/include/linkRefNoTitleTab",
              "granite:rendercondition": {
                "jcr:primaryType": "nt:unstructured",
                "expression": "${!cqDesign.linkDisabled}",
                "sling:resourceType": "granite/ui/components/foundation/renderconditions/simple"
              }
            }

          }
        }
      }
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy