Sunday, July 1, 2012

preview in case of iframe

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, if an iframe is
added into the picture, the previewer is apparently not so global.
things happening inside the iframe does not trigger DOM.preview(evt),
and therefore does not get previewed.

I suppose this makes sense, that the iframe has an independent DOM
structure from the parent. Does any one know of a way to bridge the
two so that the two parts together still behaves truly in a GLOBAL
way?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment