generator-mendix icon indicating copy to clipboard operation
generator-mendix copied to clipboard

mx.ui.action does not work as expected in popups

Open Andries-Smit opened this issue 8 years ago • 2 comments

Sharing some information: https://github.com/mendix/generator-mendix/blob/master/generators/app/templates/WidgetBoilerplate/src/WidgetName/widget/WidgetName.js.ejs#L76

Found a limitation on the https://apidocs.mendix.com/6/client/mx.ui.html#.action Though documentation states that origin: this.mxform is not needed, it is not completely true. It is not working for full pages but does not work for popups. So this call action will close the page but not a popup. : (

So I think we need to reintroduce the origin again.

Cheers.

Andries-Smit avatar May 10 '17 05:05 Andries-Smit

The deprecated variant of Mendix 5 was named caller not aware about the origin...

Andries-Smit avatar May 10 '17 11:05 Andries-Smit

Yeah my comment was removed because I spotted my own error ;-). We'll reintroduce origin I guess, and revert back to mx.data.action

JelteMX avatar May 10 '17 15:05 JelteMX