I am working on a project which mainly uses GWT for the application
but uses 3rd party javascript as well. I am running into a problem: I
need to use 3rd party javascript to manipulate the page DOM. Since the
page is mainly coded in GWT, then I have to make sure the 3rd party
javascript executes AFTER GWT module finishes running and adding all
elements to the DOM otherwise the 3rd part javascript gets an
incomplete page. For example:

<head>
<script type="text/javascript" language="javascript"
src="3rdparty.js"></script>
<script type="text/javascript" language="javascript" src="gwt/
gwt.nocache.js"></script>
</head>

I want to make sure 3rdparty.js executes after gwt.nocache.js finishes
running.

I have a solution in which I manually expose a Callback function in
GWT onModuleLoad() method. But is there anyway to solve this problem
without adding extra codes to my GWT codes?


Thanks,
--~--~---------~--~----~------------~-------~--~----~
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