Re: preview in case of iframe

2012-07-02 Thread gpike
The document inside you iFrame is a completely separate document and can be from a different domain as well so won't get any events just like you don't get events from other browser tabs. However you could communicate across the boundary by defining your own api's. What I mean is you can add

Re: preview in case of iframe

2012-07-02 Thread bhomass
thanks, I figured as much. The two documents are independent DOM structures and while the preview is global, it is only global within one DOM structure. I got what I want w/o preview, using *addDomHandler. **as long as you have the handle to components in both frames, this works quite fine.*

preview in case of iframe

2012-07-01 Thread bhomass
I have been struggling with this for the whole day and can't crack the nut. I know how things work when you call Event.addNativePreviewHandler(handler) to trigger event preview. The preview is meant to be a global concept so that anything events happening else where would get previewed. However,