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

2013-09-22 Thread marian lux
Thank you for your answer, but if I enter the URL http://www.jscache.com/wejs?wtype=cdswritereviewlg&uniq=303&locationId=206597&lang=en_AU&border=truein browser I see the following document.write(): document.write( 'http://www.tripadvisor.com/WidgetEmbed-cdswritereviewlg?amp;uniq=303&border

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

2013-09-22 Thread Thomas Broyer
On Saturday, September 21, 2013 1:34:27 PM UTC+2, marian lux wrote: > > I found something about "Script Injection" and tried the following code to > add the script in my HTML page (on EntryPoint - method): > > Document doc = Document.get(); > ScriptElement script = doc.createScri

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

2013-09-21 Thread marian lux
I found something about "Script Injection" and tried the following code to add the script in my HTML page (on EntryPoint - method): Document doc = Document.get(); ScriptElement script = doc.createScriptElement(); script.setSrc(" http://www.jscache.com/wejs?wtype=cdswritere