API Reference

the complete API documentation

NamePages Edit Servlet

Path/bin/cpm/pages/edit

Suffixthe resource to edit

Classcom.composum.pages.commons.servlet.EditServlet

SelectorresourceInfo Extensionjson MethodGET OperationResource Data

Examples

  • /bin/cpm/pages/edit.resourceInfo.json/content/tenant/site/home/jcr:content
     { 
      name: "jcr:content", 
      path: "/content/tenant/site/home/jcr:content", 
      type: "composum/pages/components/page/home", 
      prim: "cpp:Page", 
      synthetic: false, 
      title: "jcr:content" 
    }

SelectorpageData Extensionjson MethodGET OperationPage Data

Examples

  • /bin/cpm/pages/edit.pageData.json/content/tenant/site/home/jcr:content
     { 
      "contentType": "home", 
      "type": "page", ... 
      "release": { 
        "status": "activated" 
      }, 
      "jcrState": { ... }, 
      "children": [], 
      "reference": { 
        "name": "home", 
        "path": "/content/tenant/site/home", 
        "type": "composum/pages/components/page/home", 
        "prim": "cpp:Page" 
      }, 
      "jcrContent": { 
        "contentType": "home", 
        "type": "pagecontent", ... 
        "resourceType": "composum/pages/components/page/home", 
        "uuid": "efa4e5e1-5e4e-4c29-8f03-2855fd135fe7", 
        "treeType": "intermediate", 
        "jcrState": { 
          "checkedOut": true, 
          "isVersionable": true, 
          "locked": false 
        }, 
        "children": [] 
      }, 
      "meta": { 
        "site": "/content/tenant/site", 
        "template": "/libs/composum/pages/components/templates/page/home", 
        "isTemplate": false, 
        "language": "en", 
        "defaultLanguage": "en" 
      } 
    }

SelectorpageTree Extensionjson MethodGET OperationPage Tree Node

SelectoreditDialog Extensionhtml MethodGET OperationGet Edit Dialog

SelectornewDialog Extensionhtml MethodGET OperationGet New Dialog

Load the Dialog to insert a new element - opens with the type selector with the list of allowed components.

SelectoreditTile Extensionhtml MethodGET OperationGet Edit Tile