Call scriptable interface function from java action

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
1 answers

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.