Hello there,
I want "send" a array of object id via messages (publish etc ...) to another module : like this :
messages: {
"GetInterventions": {
mode: this.Terrasoft.MessageMode.PTP,
direction: this.Terrasoft.MessageDirectionType.PUBLISH
}
},
--------
methods: {
callNewScheduler: function() {
var selectedRows = this.get("SelectedRows");
this.sandbox.publish("GetInterventions", {
interventions: selectedRows
}, [this.sandbox.id]);
this.sandbox.publish("PushHistoryState", {
hash: "UsrInterventionPlanning"
});
},
}
The "sandbox.publish("PushHistoryState")" action works fine : we jump to "UsrInterventionPlanning" module but the "GetInterventions" is not called ?!
How can i do it?
Thanks for all in advance,
Davyd REY
Like