AnsweredAssumed Answered

Unable to fire Event Handler when using Message Class.

Question asked by sri_kanth0526 on Dec 12, 2017
Latest reply on Dec 13, 2017 by rscheitlin



I am opening a new child window and creating a list of opened windows in the custom widget and gave an option to close the child window. Here is an example template of custom widget.


Child window is a pure html and JS code... result.html


Custom widget          x


List of Windows:

Window1       x

Window2       x

Window3       x         


Here the issue is with the Message class.... if i got any exception in the asynchronous process somewhere in the code ... I am using the Message to show the error message and at the same time opening the child window...

In the widget.js file, when I am closing the child window, child close event handler will remove the one item from the list.


Because of the error message showing using Message class, Close Event handler of the child window is not firing in the widget.js file.


Help required asap.



Srikanth Dasari