Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright 2021 Adobe
~
~ Licensed 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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:granite="http://www.adobe.com/jcr/granite/1.0"
jcr:primaryType="nt:unstructured"
jcr:title="List"
sling:resourceType="cq/gui/components/authoring/dialog"
extraClientlibs="[core.wcm.components.list.v2.editor]"
helpPath="https://www.adobe.com/go/aem_cmp_list_v3"
trackingFeature="core-components:list:v3">
<content
granite:class="cmp-list__editor"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<tabs
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/tabs"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<listSettings
jcr:primaryType="nt:unstructured"
jcr:title="List Settings"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<columns
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<listFrom
granite:class="cq-dialog-dropdown-showhide"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
fieldLabel="Build List Using"
name="./listFrom">
<granite:data
jcr:primaryType="nt:unstructured"
cq-dialog-dropdown-showhide-target=".list-option-listfrom-showhide-target"/>
<items jcr:primaryType="nt:unstructured">
<children
granite:hide="${cqDesign.disableChildren}"
jcr:primaryType="nt:unstructured"
text="Child pages"
value="children"/>
<static
granite:hide="${cqDesign.disableStatic}"
jcr:primaryType="nt:unstructured"
text="Fixed list"
value="static"/>
<search
granite:hide="${cqDesign.disableSearch}"
jcr:primaryType="nt:unstructured"
text="Search"
value="search"/>
<tags
granite:hide="${cqDesign.disableTags}"
jcr:primaryType="nt:unstructured"
text="Tags"
value="tags"/>
</items>
</listFrom>
<setChildren
granite:class="hide list-option-listfrom-showhide-target foundation-layout-util-vmargin"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<granite:data
jcr:primaryType="nt:unstructured"
showhidetargetvalue="children"/>
<items jcr:primaryType="nt:unstructured">
<heading
granite:class="coral-Heading coral-Heading--4"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/heading"
level="{Long}4"
text="Options for Child Pages"/>
<well
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/well">
<items jcr:primaryType="nt:unstructured">
<parentPage
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/pagefield"
fieldDescription="Leave empty to use current page"
fieldLabel="Parent Page"
name="./parentPage"
rootPath="/content"/>
<childDepth
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
fieldDescription="Controls how deep the child items can be added to the list"
fieldLabel="Child Depth"
max="100"
min="1"
name="./childDepth"
step="1"
value="1"/>
</items>
</well>
</items>
</setChildren>
<setStatic
granite:class="hide list-option-listfrom-showhide-target foundation-layout-util-vmargin"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<granite:data
jcr:primaryType="nt:unstructured"
showhidetargetvalue="static"/>
<items jcr:primaryType="nt:unstructured">
<heading
granite:class="coral-Heading coral-Heading--4"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/heading"
level="{Long}4"
text="Options for Fixed List"/>
<well
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/well">
<items jcr:primaryType="nt:unstructured">
<pages
granite:class="foundation-layout-util-maximized-alt coral-Form-fieldwrapper"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<multi
granite:class=""
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/pagefield"
name="./pages"
rootPath="/content"/>
</multi>
</items>
</pages>
</items>
</well>
</items>
</setStatic>
<setSearch
granite:class="hide list-option-listfrom-showhide-target foundation-layout-util-vmargin"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<granite:data
jcr:primaryType="nt:unstructured"
showhidetargetvalue="search"/>
<items jcr:primaryType="nt:unstructured">
<heading
granite:class="coral-Heading coral-Heading--4"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/heading"
level="{Long}4"
text="Options for Search"/>
<well
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/well">
<items jcr:primaryType="nt:unstructured">
<query
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Search Query"
name="./query"/>
<queryContentPath
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/pagefield"
fieldDescription="Leave empty to use current site (eg. /content/mysite)"
fieldLabel="Search In"
name="./searchIn"
rootPath="/content"/>
</items>
</well>
</items>
</setSearch>
<setTags
granite:class="hide list-option-listfrom-showhide-target foundation-layout-util-vmargin"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<granite:data
jcr:primaryType="nt:unstructured"
showhidetargetvalue="tags"/>
<items jcr:primaryType="nt:unstructured">
<heading
granite:class="coral-Heading coral-Heading--4"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/heading"
level="{Long}4"
text="Options for Tags"/>
<well
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/well">
<items jcr:primaryType="nt:unstructured">
<parentPage
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/pagefield"
fieldDescription="Leave empty to use current page"
fieldLabel="Parent Page"
name="./tagsSearchRoot"
rootPath="/content"/>
<tags
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/coral/common/form/tagfield"
fieldLabel="Tags"
multiple="{Boolean}true"
name="./tags"/>
<match
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
fieldLabel="Match"
name="./tagsMatch">
<items jcr:primaryType="nt:unstructured">
<any
jcr:primaryType="nt:unstructured"
text="Any tag"
value="any"/>
<all
jcr:primaryType="nt:unstructured"
text="All tags"
value="all"/>
</items>
</match>
</items>
</well>
</items>
</setTags>
<orderBy
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
emptyOption="{Boolean}true"
fieldDescription="Enter a property like 'jcr:created'"
fieldLabel="Order By"
name="./orderBy"
type="editable">
<items jcr:primaryType="nt:unstructured">
<title
jcr:primaryType="nt:unstructured"
text="Title"
value="title"/>
<modified
jcr:primaryType="nt:unstructured"
text="Last modified date"
value="modified"/>
</items>
</orderBy>
<sortOrder
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
fieldDescription="Sort order ascending or descending"
fieldLabel="Sort Order"
name="./sortOrder"
type="editable">
<items jcr:primaryType="nt:unstructured">
<asc
jcr:primaryType="nt:unstructured"
text="Ascending"
value="asc"/>
<desc
jcr:primaryType="nt:unstructured"
text="Descending"
value="desc"/>
</items>
</sortOrder>
<maxItems
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
fieldDescription="Maximum number of items displayed in list. Empty for all items."
fieldLabel="Max Items"
min="{Long}0"
name="./maxItems"/>
<id
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldDescription="HTML ID attribute to apply to the component."
fieldLabel="ID"
name="./id"/>
</items>
</column>
</items>
</columns>
</items>
</listSettings>
<itemSettings
jcr:primaryType="nt:unstructured"
jcr:title="Item Settings"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<columns
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<linkItems
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
checked="${not empty cqDesign.linkItems ? cqDesign.linkItems : false}"
fieldDescription="Link items to the corresponding page"
name="./linkItems"
text="Link items"
uncheckedValue="false"
value="true"/>
<showDescription
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
checked="${not empty cqDesign.showDescription ? cqDesign.showDescription : false}"
fieldDescription="Show descriptions of the link item"
name="./showDescription"
text="Show description"
uncheckedValue="false"
value="true"/>
<showModificationDate
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
checked="${not empty cqDesign.showModificationDate ? cqDesign.showModificationDate : false}"
fieldDescription="Show modification date of the link item"
name="./showModificationDate"
text="Show date"
uncheckedValue="false"
value="true"/>
<displayItemAsTeaser
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
checked="{Boolean}false"
fieldDescription="When checked, the item is displayed as a teaser."
name="./displayItemAsTeaser"
text="Display as teaser"
uncheckedValue="{Boolean}false"
value="{Boolean}true"/>
</items>
</column>
</items>
</columns>
</items>
</itemSettings>
<styletab
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/include"
path="/mnt/overlay/cq/gui/components/authoring/dialog/style/tab_edit/styletab"/>
</items>
</tabs>
</items>
</content>
</jcr:root>