PDA

View Full Version : Cross window events?



lrayman
5 Sep 2014, 8:45 AM
I have requirement to break my app, which currently uses a border layout with some complicated grids & widgets, into 2 (or more) browser windows (i.e. pop-ups). The widgets fire events at each other. Thus, in the pop-up paradigm, the windows would also have to fire events at each other.

I have found an elegant jQuery solution for inter-window events here (http://stackoverflow.com/a/10088196/378218). I would like to find an Ext JS solution. I've tried playing with the EventObjectImpl's injectEvent code - to no avail.

p.s. window.postMessage would be perfect - but doesn't work cross window (only across iframes) in IE9 and older.

slemmon
8 Sep 2014, 9:53 PM
Hi,

I'm afraid there's not an ExtJS framework API for firing / listening to events between applications in different browser windows.