giovaneoceano,
By default GWT is loaded in an IFRAME so that 'document' refers to the
IFRAME,

You may want to use '$doc' instead of document, although document.write() is
unlikely to be what you want.

Fred


On Mon, Jul 6, 2009 at 6:29 AM, [email protected] <
[email protected]> wrote:

>
> why if i invoke the following javascript function it doesn't work?
>
> private static native void display()
>        /*-{
>        document.write('<!--#echo var="REMOTE_ADDR"-->');
>
>        }-*/;
>
> >
>


-- 
Fred Sauer
[email protected]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to