I'm running GWT OOPHM on Linux with Eclipse and Firefox.  In my
application's HTML file, have a Javascript object declared:

        <script language="JavaScript1.1">
        var myObject = {
                param0: null,
                param1: null,
                param2: null
        };
        </script>

In the HTML file's <body> tag, I call a Javascript function to read
and parse window.location.href, assigning the results to myObject,
which I later retrieve within my my widget via JNSI.

This all works fine if I compile my application, build a WAR file, and
run it under Tomcat.  However, it will not work in hosted mode.  I can
launch my application, and modify the query string:

http://...QSTest.html?gwt.hosted=127.0.0.2:9997&param0=foo&param1=bar

However my JNSI code sees $wnd.myObject.param0, etc as null.

So, (1) How do I use a query string in OOPM? and (2) How can I set the
query string in Eclipse 3.4?
--~--~---------~--~----~------------~-------~--~----~
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