This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git

commit 957a5ae38ade527dd3d7bd7c93b613faa477f4ab
Author: Dan Klco <[email protected]>
AuthorDate: Sat May 26 14:41:32 2018 -0400

    Removing childlist reference component
---
 .../reference/components/general/childlist.json    |  5 ---
 .../components/general/childlist/childlist.jsp     | 32 --------------
 .../components/general/childlist/edit.json         | 49 ----------------------
 3 files changed, 86 deletions(-)

diff --git 
a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist.json
 
b/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist.json
deleted file mode 100644
index 44a79da..0000000
--- 
a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-       "jcr:primaryType": "sling:Component",
-    "componentType": "General",
-    "jcr:title": "Child List"
-}
\ No newline at end of file
diff --git 
a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist/childlist.jsp
 
b/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist/childlist.jsp
deleted file mode 100644
index dc02188..0000000
--- 
a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist/childlist.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%-- /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */ --%>
-<%@include file="/libs/sling-cms/global.jsp"%>
-<c:if test="${not empty properties.itemType}">
-       <c:set var="basePath" value="${not empty properties.basePath ? 
properties.basePath : resource.path} }" />
-       <c:set var="limit" value="${not empty properties.limit ? 
properties.limit : 1000} }" />
-       <c:set var="tag" value="${not empty properties.tag ? properties.tag : 
'ul'} }" />
-       <c:set var="class" value="${not empty properties.class ? 
properties.class : ''} }" />
-       <${tag} class="${class}">
-               <c:forEach var="child" 
items="${sling:listChildren(sling:getResource(resourceResolver,basePath))}" 
end="${limit}">
-                       <c:if test="${child.resourceType == 'sling:Page'}">
-                               <sling:include path="${child.path}" 
resourceType="${properties.itemType}" />
-                       </c:if>
-               </c:forEach>
-       </${tag}>
-</c:if>
\ No newline at end of file
diff --git 
a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist/edit.json
 
b/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist/edit.json
deleted file mode 100644
index a0a528b..0000000
--- 
a/cms/reference/src/main/resources/jcr_root/apps/reference/components/general/childlist/edit.json
+++ /dev/null
@@ -1,49 +0,0 @@
- {
-       "jcr:primaryType": "nt:unstructured",
-       "sling:resourceType": "sling-cms/components/editor/slingform",
-       "button": "Save",
-       "fields": {
-               "jcr:primaryType": "nt:unstructured",
-               "sling:resourceType": "sling-cms/components/general/container",
-               "basePath": {
-                       "jcr:primaryType": "nt:unstructured",
-                       "sling:resourceType": 
"sling-cms/components/editor/fields/path",
-                       "basePath": "/content",
-                       "label": "Base Path",
-                       "name": "basePath",
-                       "required": false,
-                       "titleProperty": "jcr:content/jcr:title",
-                       "type": "sling:Page"
-               },
-               "itemType": {
-                       "jcr:primaryType": "nt:unstructured",
-                       "sling:resourceType": 
"sling-cms/components/editor/fields/select",
-                       "label": "Item Type",
-                       "name": "itemType",
-                       "optionsScript": 
"/apps/reference/components/general/list/listItemOptions.jsp",
-                       "required": true
-               },
-               "limit": {
-                       "jcr:primaryType": "nt:unstructured",
-                       "sling:resourceType": 
"sling-cms/components/editor/fields/text",
-                       "label": "Limit",
-                       "name": "limit",
-                       "required": false,
-                       "type": "number"
-               },
-               "tag": {
-                       "jcr:primaryType": "nt:unstructured",
-                       "sling:resourceType": 
"sling-cms/components/editor/fields/text",
-                       "label": "List Tag",
-                       "name": "tag",
-                       "required": false
-               },
-               "class": {
-                       "jcr:primaryType": "nt:unstructured",
-                       "sling:resourceType": 
"sling-cms/components/editor/fields/text",
-                       "label": "List Class",
-                       "name": "class",
-                       "required": false
-               }
-       }
-}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to