Hi,
1) if content comes from client may be you'll want to show it in a
div...
2) if content comes from server-side pass the url and serve it through
a servlet
3) if you really need a new window (and document) to fill by your own
may be it can be done writing some native js
open method returns the new window
var otherWin = $win.open("","_blank",
"location=0,menubar=0,toolbar=0")
document or body are accessible through
otherWin.document.body ...
Cheers,
Luca
On 4 Mag, 18:42, Magnus <[email protected]> wrote:
> Hi!
>
> > Window.open(url, "_blank", "location=0,menubar=0,toolbar=0");
>
> The problem is the value for *url*. There is no URL that I want to
> open. I want to open an empty window and fill it with HTML code by
> code.
>
> Assume there is some HTML in a String:
>
> String content;
> ...
>
> So I want to open a window and fill it with this string.
>
> Magnus
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.