It just occurred to me that this pretty obviously won't work, because
it is calling the <script src="..."></script> widget tag inside of an
existing <script></script> enclosure. How do I call this aside from
ripping out the widget internals and rewriting them myself?

Adam


On Jan 27, 12:02 pm, adambossy <[email protected]> wrote:
> This seems so simple, that I must be overlooking some obvious GWT
> characteristic. I would like to embed a TweetGrid from here:
>  http://tweetgrid.com/searchtips
>
> The code is short and simple:
>   <script src="http://tweetgrid.com/widget/widget.js"; type="text/
> javascript"></script>
>
> I wrap this as an HTML element, and add it to the main panel:
>   HTML widget = new HTML("<script src="http://tweetgrid.com/widget/
> widget.js" type="text/javascript"></script>")
>
> It seems as though the widget loads, but the callback to populate the
> widget does not recognize the function it's supposed to call. The
> exact error is as follows (on a brand-new GWT project, no other
> complications):
>
> jtw_searchfunc is not defined, line 1
>   search.json?callback=jtw_searchfunc&q=twitter&rpp=20()()
>
> How do I properly add this widget so that this does not occur?
>
> Thanks,
> Adam
--~--~---------~--~----~------------~-------~--~----~
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