John O'Conner
unread,Nov 6, 2009, 12:45:42 PM11/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
I've been trying to integrate GWT into my company's product for a
couple weeks. And I'm beginning to think that GWT may not be right for
our use case.
Our product adds functionality to client sites when client's link to
our cross-site Javascript file using a <script> tag at the bottom of
their page. Our product uses lots of <script> injections to
communicate with our own servers and provides functionality in the
host page.
I've tried to rewrite portions of our product using GWT, and I try to
invoke it by creating a <script> element and adding it to the document
body. Unfortunately this results in a continuous, never-ending
document load (spinning load icons, etc), and the functionality never
appears.
I'm begging to wonder if my use case that requires me to load my GWT
functionality dynamically using a script injection isn't handled by
GWT. Is that correct? Does GWT just not allow my use case? All the
examples I see of using GWT seem to require that the bootstrap file be
coded into the host document directly...not injected at a later stage.
Best regards,
John