You should pass the calling form(in your scope) to the 'store' parameter when calling mx.data.action. This calling form is needed by the client to determine in which page the widget resides.
Try something like this:
mx.ui.action({
store: {
caller: this.mxform
},
params: {
applyto: "selection",
actionname: this.onchangeAction,
guids: [this._contextObj.getGuid()]
},
error: function (error) {
console.log(error.description);
}
});
Hi Rogier,
You can use
this.mxform.dispose();