Thursday, October 27, 2011

Two GWT scripts in one page.

So I've gotten GWT to make a cross domain script with the xsiframe linker and it works ok.

However one problem:

In my local GWT app i'm developing, I'm doing something like this:

<script type="text/javascript" language="javascript" src="http://otherhost.com/xsapp/xsapp.nocache.js"></script>

<script type="text/javascript" language="javascript" src="/myapp/myapp.nocache.js"></script>

This works fine if I load up  http://127.0.0.1:8888/index.jsp  

it breaks.

It looks like in the debugger, it's trying to debug xsapp.nocache.js which it should not need to.

Is there a workaround for this?  Seems like we can't just use standalone (non-inherited) GWT libraries if this can't be done.

Luis


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment