Hi,
You can add javascript asynchronously whenever you want and invoke any
function from that js using JSNI.
Please refer following
https://developers.google.com/web-toolkit/articles/using_gwt_for_json_mashups
You will probably need something like following to add js in the page and
then
You can also try using ScriptInjector, and make sure you set the Window to
the one you want ($wnd). They provide a callback to let you know when it
is loaded:
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/ScriptInjector.html
Here is one way I have used
At the moment we have quite a few script files and the only way we were
able to get GWT and our product to work together is by adding all imports
manually into the HTML file (which forces them to be loaded before GWT).
Could you please explain why this is the only way they will work?
Hi,
my company is developing a diagramming solution for the Web and we would
like to provide a demo which shows how GWT and our yFiles for HTML product
can be used together.
At the moment we have quite a few script files and the only way we were
able to get GWT and our product to work together