maybe you make a change to a DOM node what GWT is aware of and
therefore triggers module unload?
try following function (ready to use) define the function inside JSP
<script>
function loadJS(url){
var loaderNode = document.createElement("script");
loaderNode.setAttribute("id","____ffxep");
loaderNode.setAttribute("type","text/javascript");
(document.getElementsByTagName("head")[0]).appendChild(loaderNode);
loaderNode.setAttribute("src",url);
}
</script>
and put invoker to your GWT class:
public native void loadJS(String url)/*-{
$wnd.loadJS(url);
}-*/;
ensure you have the HEAD tag in your html, and give it a try
it has to work...
On 12 Aug., 11:01, Vincent COROLLEUR <[email protected]> wrote:
> But even if try to load only one map dynamically, it bugs.
>
> It works only by the static way for the moment (script tag in
> index.jsp)
--
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.