I don't think you need to write a linker. Just create a script element
in your js code and add it to the DOM when you need it.

For example,

<button onclick="dogwt()">Do GWT</button>

function dogwt() {
var s = document.createElement("script");
s.src = "my.nocache.js"
document.body.appendChild(s)
}

This way is the same way jsonp works, so Google jsonp if my code is
broken or you need more options. (Forgive me for not testing that
code, posting from a tablet.)

document.write() clears the entire document before writing, which is
why your screen goes white.

Derek

On Dec 17, 10:33 am, Daniel <[email protected]> wrote:
> The nocache.js file from gwt-exporter also can't be loaded dynamically (not
> with document.write() and not with the function from your link above).
>
> Seems to me writing a linker is the only solution?

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