yvesm
3 Apr 2009, 11:12 AM
Hello All,
I'm having a bit of a hard time figuring out how to use the Ext event system to delegate info to another application that dies not use Ext (but uses JS). I sense I need to do a createCallback or createDelegate, but I have no idea where to start to figure that out.
What we have in mind is to send a JSON string to another application on click of a button in the Ext application. We have the JSON string from the Ext object and now we were thinking of travelling back to the originating application that triggers Ext with window.opener, activate (fire click event ?) some hidden control there and pass it the JSON string as a parameter. The handler function would be written in the destination (parent) application.
Are there examples of things like that ?
TIA,
Yves Moisan
I'm having a bit of a hard time figuring out how to use the Ext event system to delegate info to another application that dies not use Ext (but uses JS). I sense I need to do a createCallback or createDelegate, but I have no idea where to start to figure that out.
What we have in mind is to send a JSON string to another application on click of a button in the Ext application. We have the JSON string from the Ext object and now we were thinking of travelling back to the originating application that triggers Ext with window.opener, activate (fire click event ?) some hidden control there and pass it the JSON string as a parameter. The handler function would be written in the destination (parent) application.
Are there examples of things like that ?
TIA,
Yves Moisan