On 25 mai, 00:25, DK <dmanchikalap...@gmail.com> wrote:
> I am constructing a piece of HTML code on the fly. I have am empty
> html page , and I need to inject this html code within the body
> element of the empty html page. Can someone point me in the right
> direction ? Right now, I am using the Window.open("test.html", "test
> html title", "some more parameters here"); to open the window, but
> unable to inject any html code into the body element.

You'd have to use JSNI for the $wnd.open() call so you can get a
reference to the opened window, and thus its document, which you can
then either use from JSNI or return to Java as a
com.google.gwt.dom.client.Document instance.

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to