On Wednesday, June 6, 2012 6:13:04 PM UTC+2, King_V wrote:
Thomas,
Thanks. I think I might be missing something very obvious, because
I'm looking at the APIs, and I have no idea how to do what you're
suggesting.
Code-wise, how do I get the document within the frame, so that I can
add the new Elements to it?
Frame frame = ...;
FrameElement frameElt = frame.getElement().cast();
Document frameDoc = frameElt.getContentDocument();
You'll probably have to attach your Frame first, and possibly even wait for the LoadHandler to be called back (even for an about:blank)
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/OwrGv_nxY3EJ.
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