Hi All,
pasted below classic UI dialog.xml, where it is a dropdown selection type, values getting from the servlet path "/apps/solr/core" [ all solr collection value shown as below ], In classic dialog mode, options works perfect, I can see values in the dropdown for selection in dialog, But when I use same options under Touch UI dialog, dropdown has empty values. Please help, what property or methodology needs to be implemented for getting dropdown values from the servlet output ("apps/solr/core") in Touch UI dialog. Thanks in advance !
<Configuration
jcr:primaryType="cq:Widget"
title="Configuration">
<items jcr:primaryType="cq:WidgetCollection">
<collectionname
jcr:primaryType="cq:Widget"
fieldLabel="Select Collection name to fetch results"
name="./solr-core"
options="/apps/solr/core"
type="select"
xtype="selection"/>
ex: hostname/apps/solr/core - returns the below response
- { text: "partner_locations",
- value: "partner_locations"
- {,
- text: "support_collection",
- value: "support_collection"
- {
- text: "partner_apps",
- value: "partner_apps"
},
Touch UI Dialog:
<collectionname
jcr:primaryType="nt:unstructed"
fieldLabel="Select Collection name to fetch results"
name="./solr-core"
options="/apps/solr/core"
sling:resourceType="granite/ui/components/coral/foundation/form/select"/>