Hi,
I always tried with JSNI and it's the same... ("Unloading module" when
scipt is loading)
On Aug 12, 9:35 am, cokol <[email protected]> wrote:
> i would use appropriate API for either maps but control them from
> "above", from the DOM of the browser, so first I'd create two DIV
> containers and bind GMaps or OpenLayers to each, depending on the user
> selection you can make the one or another container invisible, BUT you
> should not consider to clean or remove the maps widgets from the DOM,
> just make them disappear by CSS.
>
> as for loading JS code on demand, I'd rather write this subroutine in
> JSNI then callback the "GWT" part to pass control over, this way you
> hide the "dirty" things from GWT - it will work for sure. So just
> write your SCRIPTing tag JS loader but in JavaScript as native method.
>
> On 12 Aug., 09:19, Vincent COROLLEUR <[email protected]> wrote:
>
> > Application bugs when the code is reached, i tried DefferedCommand and
> > i even tried to launch it with a button...
> > Debug mode won't give me any explaination.
>
> > It's been three days i'm on it and i can't see any sunbeam :)
--
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.