Skip to content

Commit bcf910b

Browse files
authored
CIF-2463 - Replace referencetab component with extended picker (#848)
* CIF-2564 - Replace referencetab component with extended picker * CIF-2564 - Replace referencetab component with extended picker
1 parent a307176 commit bcf910b

3 files changed

Lines changed: 14 additions & 15 deletions

File tree

ui.apps/src/main/content/jcr_root/apps/core/cif/components/structure/page/v1/page/_cq_dialog/.content.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@
110110
fieldLabel="Category ids for which this page will be used."
111111
multiple="{Boolean}true"
112112
name="./selectorFilter"
113-
selectionId="uidAndUrlPath">
113+
selectionId="uidAndUrlPath"
114+
showLink="{Boolean}true">
114115
<granite:rendercondition jcr:primaryType="nt:unstructured"
115116
sling:resourceType="core/cif/components/renderconditions/pagetype"
116117
pageType="category"/>
@@ -136,7 +137,8 @@
136137
name="./selectorFilter"
137138
rootPath="/var/commerce/products"
138139
selectionId="slug"
139-
enablePreviewDateFilter="{Boolean}true">
140+
enablePreviewDateFilter="{Boolean}true"
141+
showLink="{Boolean}true">
140142
<granite:rendercondition
141143
jcr:primaryType="nt:unstructured"
142144
sling:resourceType="core/cif/components/renderconditions/pagetype"

ui.apps/src/main/content/jcr_root/apps/core/cif/components/structure/page/v2/page/_cq_dialog/.content.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@
112112
name="./selectorFilter"
113113
rootPath="/var/commerce/products"
114114
selectionId="slug"
115-
enablePreviewDateFilter="{Boolean}true">
115+
enablePreviewDateFilter="{Boolean}true"
116+
showLink="{Boolean}true">
116117
<granite:rendercondition
117118
jcr:primaryType="nt:unstructured"
118119
sling:resourceType="core/cif/components/renderconditions/pagetype"
@@ -124,7 +125,8 @@
124125
fieldLabel="Category ids for which this page will be used."
125126
multiple="{Boolean}true"
126127
name="./selectorFilter"
127-
selectionId="urlPath">
128+
selectionId="urlPath"
129+
showLink="{Boolean}true">
128130
<granite:rendercondition jcr:primaryType="nt:unstructured"
129131
sling:resourceType="core/cif/components/renderconditions/pagetype"
130132
pageType="category"/>
@@ -135,7 +137,8 @@
135137
fieldLabel="Category ids for which this page will be used."
136138
multiple="{Boolean}true"
137139
name="./useForCategories"
138-
selectionId="urlPath">
140+
selectionId="urlPath"
141+
showLink="{Boolean}true">
139142
<granite:rendercondition jcr:primaryType="nt:unstructured"
140143
sling:resourceType="core/cif/components/renderconditions/pagetype"
141144
pageType="product"/>

ui.apps/src/main/content/jcr_root/apps/core/cif/components/structure/xfpage/v1/xfpage/_cq_dialog/.content.xml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,12 @@
8686
name="./cq:products"
8787
rootPath="/var/commerce/products"
8888
selectionId="combinedSku"
89-
enablePreviewDateFilter="{Boolean}true">
89+
enablePreviewDateFilter="{Boolean}true"
90+
showLink="{Boolean}true">
9091
<granite:data
9192
jcr:primaryType="nt:unstructured"
9293
metaType="text"/>
9394
</products>
94-
<productstab
95-
jcr:primaryType="nt:unstructured"
96-
sling:resourceType="commerce/gui/components/common/productreferencetab"
97-
targetProperty="jcr:content/cq:products"/>
9895
</items>
9996
</productsPickerSection>
10097
<categoriesPickerSection
@@ -111,15 +108,12 @@
111108
fieldDescription="Select the categories associated with this experience fragment variation."
112109
fieldLabel="Category IDs."
113110
multiple="{Boolean}true"
114-
name="./cq:categories">
111+
name="./cq:categories"
112+
showLink="{Boolean}true">
115113
<granite:data
116114
jcr:primaryType="nt:unstructured"
117115
metaType="text"/>
118116
</categories>
119-
<categoriestab
120-
jcr:primaryType="nt:unstructured"
121-
sling:resourceType="commerce/gui/components/common/categoryreferencetab"
122-
targetProperty="jcr:content/cq:categories"/>
123117
</items>
124118
</categoriesPickerSection>
125119
<fragmentLocationSection

0 commit comments

Comments
 (0)