Saturday, September 21, 2013

How-to display a Javascript-Widget (e.g. from tripadvisor) in an GWT HTML Widget?

I want do display e.g. the following widget in an GWT HTML-widget:

<div id="TA_cdswritereviewlg303" class="TA_cdswritereviewlg">
<ul id="PFAsdj" class="TA_links xWEBQ5e">
<li id="nvVscFx" class="cSICfMRvGlKe">Review <a href="http://www.tripadvisor.com.au/Hotel_Review-g190454-d206597-Reviews-Grand_Hotel_Wien-Vienna.html">Grand Hotel Wien</a></li>
</ul>
</div>
<script src="http://www.jscache.com/wejs?wtype=cdswritereviewlg&amp;uniq=303&amp;locationId=206597&amp;lang=en_AU&amp;border=true"></script>


The widget id displayed fine here:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro

But on GWT I don't see the widget. Only the Text.

In previous projects I inserted iframes in GWT HTML-widgets and it worked fine.
How can I display this javascript-widget above in an GWT HTML-Widget?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment