thank you very much. I like this solution better.

On Mar 2, 4:36 am, Martin Trummer <[email protected]> wrote:
> take a look at 
> Dictionaryhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDictionaryExa...http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
>
> On 1 Mrz., 20:00, Quu <[email protected]> wrote:
>
> > Is there a clean or elegant way to pass configuration data from the
> > page that is hosting my GWT application into GWT itself?
>
> > right now I use the following to pass info from the page to the app
> > in the HTML (PHP actually, but HTML when it reaches the client) I do
> > something like the following
> >         <script>
> >                 window.dataXMLURL = "/stoplanner/STOPlanner.xml";
> >         </script>
>
> > and then in my java app, I have the following function to match
> >         public static native String getXMLSourceLocation() /*-{
> >                 return $wnd.dataXMLURL;
> >         }-*/;
>
> > is there a cleaner or easier way to give configuration information to
> > my GWT application?

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