Call scriptable interface function from java action

0
Is it possible to call a client site scriptable interface function from java action? (something similar like the 'close form') to Explain: I have created a widget that placed in the index file, so it is instantiated on every page. Now, I need to display a message only to the caller and not to all the there screen instances. I like to implement that with Scriptable and call the function from a java action, is that possible? mxui.widget.declare("your.custom.widget", { mixins: [mxui.mixin._Scriptable], startup: function () { this.offerInterface("message"); } message: function () { alert('Hello world!'); } }); Thank you
asked
1 answers
1

It is currently not possible to send custom instructions from the server to a widget. Maybe you could use a transient object to pass a custom instruction to a widget.

answered