I want to be able to change how an ExtJS Component formats the POST data.
To be more specific I am using the MultiSelect user extension. The post data is formatted with a single param with comma separated values.
i.e. multiSelect = 1,2,3
The way in which I need to handle this is to have multiple identical attributes
i.e. multiSelect=1 multiSelect=2 multiSelect=3
The MutliSelect component is the following
var multiselect = new Ext.ux.Multiselect({
name : 'multiselect',
fieldLabel : 'Multiselect',
dataFields : ['code', 'desc'],
data : [['1', 'One'], ['2', 'Two'], ['3', 'Three'], ['4','Four'], ['5', 'Five']],
valueField : 'code',
displayField : 'desc',
width : 150,
height : 150,
allowBlank : true
});
Not 100% that this will work, but I suspect doing something like this should:
Sending an array should get it to use normal
Ext.urlEncodebehaviour.