You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a project requirement for creating a component, where we have used xtype=tags inside a multifieldPanel. When using this component, tags are selected from the list, multifield is able to persist the value, but if we create tags on the fly, the tag is created, but values are not persisted. Kindly help me here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi Team,
We have a project requirement for creating a component, where we have used xtype=tags inside a multifieldPanel. When using this component, tags are selected from the list, multifield is able to persist the value, but if we create tags on the fly, the tag is created, but values are not persisted. Kindly help me here.
The component, looks something like this.
{
"jcr:primaryType":"cq:Dialog",
"title":"Resource 2-column",
"width":"1050",
"xtype":"dialog",
"items":{
"jcr:primaryType":"cq:Widget",
"xtype":"tabpanel",
"items":{
"jcr:primaryType":"cq:WidgetCollection",
"tab1":{
"jcr:primaryType":"cq:Panel",
"title":"Resource-2 Column",
"items":{
"jcr:primaryType":"cq:WidgetCollection",
"heading":{
"jcr:primaryType":"cq:Widget",
"allowBlank":true,
"name":"./heading",
"xtype":"textfield",
"fieldLabel":"Heading"
},
"display":{
"jcr:primaryType":"cq:Widget",
"name":"./display",
"xtype":"dialogfieldset",
"fieldLabel":"How to Display",
"items":{
"jcr:primaryType":"cq:WidgetCollection",
"item":{
"jcr:primaryType":"cq:Widget",
"anchor":"",
"allowBlank":false,
"name":"./item",
"width":"100",
"xtype":"textfield",
"fieldLabel":"Number of items"
},
"rows":{
"jcr:primaryType":"cq:Widget",
"anchor":"",
"allowBlank":false,
"defaultValue":"1",
"name":"./rows",
"type":"select",
"width":"100",
"xtype":"selection",
"fieldLabel":"Number of Rows",
"options":{
"jcr:primaryType":"cq:WidgetCollection",
"one":{
"jcr:primaryType":"nt:unstructured",
"text":"1",
"value":"1"
},
"two":{
"jcr:primaryType":"nt:unstructured",
"text":"2",
"value":"2"
},
"three":{
"jcr:primaryType":"nt:unstructured",
"text":"3",
"value":"3"
},
"four":{
"jcr:primaryType":"nt:unstructured",
"text":"4",
"value":"4"
},
"five":{
"jcr:primaryType":"nt:unstructured",
"text":"5",
"value":"5"
},
"six":{
"jcr:primaryType":"nt:unstructured",
"text":"6",
"value":"6"
},
"seven":{
"jcr:primaryType":"nt:unstructured",
"text":"7",
"value":"7"
},
"eight":{
"jcr:primaryType":"nt:unstructured",
"text":"8",
"value":"8"
},
"nine":{
"jcr:primaryType":"nt:unstructured",
"text":"9",
"value":"9"
},
"ten":{
"jcr:primaryType":"nt:unstructured",
"text":"10",
"value":"10"
},
"eleven":{
"jcr:primaryType":"nt:unstructured",
"text":"11",
"value":"11"
},
"twelve":{
"jcr:primaryType":"nt:unstructured",
"text":"12",
"value":"12"
},
"thirteen":{
"jcr:primaryType":"nt:unstructured",
"text":"13",
"value":"13"
},
"fourteen":{
"jcr:primaryType":"nt:unstructured",
"text":"14",
"value":"14"
},
"fifteen":{
"jcr:primaryType":"nt:unstructured",
"text":"15",
"value":"15"
}
}
},
"displayLogic":{
"jcr:primaryType":"cq:Widget",
"allowBlank":false,
"name":"./displayLogic",
"type":"radio",
"xtype":"selection",
"fieldLabel":"Display Logic",
"options":{
"jcr:primaryType":"cq:WidgetCollection",
"mostRecent":{
"jcr:primaryType":"nt:unstructured",
"text":"Most Recent",
"value":"Most Recent"
},
"priority":{
"jcr:primaryType":"nt:unstructured",
"text":"Priority",
"value":"Priority"
},
"alphabetical":{
"jcr:primaryType":"nt:unstructured",
"text":"Alphabetical",
"value":"Alphabetical"
},
"exact":{
"jcr:primaryType":"nt:unstructured",
"text":"Exact",
"value":"Exact"
}
}
},
"hideTitle":{
"jcr:primaryType":"cq:Widget",
"defaultValue":false,
"name":"./hidetc",
"type":"checkbox",
"xtype":"selection",
"fieldLabel":"Hide title and category"
}
}
},
"identifyMultifield":{
"jcr:primaryType":"cq:Widget",
"orderable":false,
"name":"./multifield",
"width":"200",
"xtype":"multifield",
"fieldLabel":"Identify",
"fieldConfig":{
"jcr:primaryType":"cq:Widget",
"xtype":"multifieldpanel",
"items":{
"jcr:primaryType":"cq:WidgetCollection",
"identifier":{
"jcr:primaryType":"cq:Widget",
"boxMaxWidth":"{Long}300",
"anchor":"",
"key":"identify",
"name":"./identify",
"width":"400",
"xtype":"tags",
"tagsBasePath":"/etc/tags",
"fieldDescription":"Tags within this field are connected by AND logic.",
"namespaces":{
"jcr:primaryType":"cq:WidgetCollection",
"filter":{
"jcr:primaryType":"nt:unstructured",
"name":"Identifier"
}
}
}
}
}
},
"pathC":{
"jcr:primaryType":"cq:Widget",
"name":"./pathC",
"xtype":"hidden"
},
"exactPath":{
"jcr:primaryType":"cq:Widget",
"name":"./exactPath",
"xtype":"hidden"
},
"topicpathC":{
"jcr:primaryType":"cq:Widget",
"name":"./topicPath",
"xtype":"hidden"
},
"lrcpathC":{
"jcr:primaryType":"cq:Widget",
"name":"./lrcPath",
"xtype":"hidden"
}
}
}
}
}
}
The text was updated successfully, but these errors were encountered: