SLING-INF.app-root.components.container.v1.container.json Maven / Gradle / Ivy
{
"jcr:primaryType": "cq:Component",
"jcr:title": "wcm.io Container (v1)",
"componentGroup": ".wcmio-core-wcm",
"sling:resourceSuperType": "core/wcm/components/container/v1/container",
"cq:isContainer": true,
"cq:dialog": {
"jcr:primaryType": "nt:unstructured",
"content": {
"items": {
"tabs": {
"items": {
"properties": {
"items": {
"columns": {
"items": {
"column": {
"items": {
/* Use wcm.io Media Handler FileUpload */
"backgroundImageAsset": {
"sling:resourceType": "wcm-io/handler/media/components/granite/form/fileupload",
"fileReferenceParameter": "./backgroundImageReference",
"allowUpload": false,
"granite:hide": "${!cqDesign.backgroundImageEnabled}",
"fieldLabel": "Background Image"
}
}
}
}
}
}
}
}
}
}
}
},
"cq:design_dialog": {
"jcr:primaryType": "nt:unstructured",
"content": {
"items": {
"tabs": {
"items": {
"containerSettings": {
"items": {
"container": {
"sling:resourceType": "granite/ui/components/coral/foundation/container",
"items": {
/* Media format definition */
"mediaFormatSelection": {
"sling:resourceType": "granite/ui/components/coral/foundation/include",
"path": "wcm-io/handler/media/components/global/include/mediaFormatSelection",
"sling:orderBefore": "backgroundImageEnabled"
}
}
}
}
}
}
}
}
}
}
}