Hi I have a custom dialog defined by the below configuration.
var dialogConfig = CQ.Util.applyDefaults({
title: CQ.I18n.getMessage("Create Tag"),
formUrl: CQ.tagging.TagAdmin.TAG_COMMAND_URL,
params: {
cmd: "createTag",
tagBasePath:this.tagsBasePath
},
okText: CQ.I18n.getMessage("Create"),
items: {
xtype: "panel",
items: [
{
name: "jcr:title",
fieldLabel: CQ.I18n.getMessage("Title"),
allowBlank: false
},
{
name: "tag",
fieldLabel: CQ.I18n.getMessage("Name"),
vtype: "itemname",
allowBlank: false
},
{
name:"bundle",
fieldLabel: CQ.I18n.getMessage("Select Pages to be bundled"),
xtype: "multifield",
fieldConfig: {
xtype: "pathfield"
}
},
{
name: "jcr:description",
fieldLabel: CQ.I18n.getMessage("Description"),
xtype: "textarea"
}
]
}
}, CQ.tagging.TagAdmin.baseDialogConfig);
I am trying to customize the tagging dialog to introduce a new pathfield and call a servlet upon submit. However, my ajax call request source is not proper as shown below. The multifield values are getting passed as separate strings rather than an array of strings. How do I fix this so that I send a single array of strings as a request parameter?
Thanks,
Ravi
Views
Replies
Total Likes