[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread Thomas Broyer
On Monday, January 4, 2016 at 8:31:56 PM UTC+1, confile wrote: > > I want to insert GWT Widgets like FlowPanel, HTMLPanel inside and iframe > using GWT. > TL;DR: you can't. > I find out how to insert GWT Widgets and Panels programmatically into GWT. > Here is how I do it: > > > public

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread Grzegorz Nowak
According to this 'ensureInjected' uses StyleInjector.injectStylesheet(String) to inject the text of the style into head of $doc. You would have to manually inject it (Use

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread confile
Do you have an example for a custom linker? Am Dienstag, 5. Januar 2016 18:40:28 UTC+1 schrieb Thomas Broyer: > > Ideally, probably use a custom linker that makes it so that $wnd and $doc > point to an iframe created during "bootstrap" of the app. > Or as I said before, don't use widgets. --

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread Thomas Broyer
Ideally, probably use a custom linker that makes it so that $wnd and $doc point to an iframe created during "bootstrap" of the app. Or as I said before, don't use widgets. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread confile
Hi Thomas, the reason why I want to use an iframe is the following. I want to create a JavaScript widget which is integrated into another third party page. Have a look at this: https://www.livechatinc.com/ They have a chat widget which has the following structure: // widget content

Re: [gwt-contrib] Re: 2.8.0-beta1 SDM not always detecting changes properly

2016-01-05 Thread stuckagain
I tried to use it... the effect is even worse: changes are never seen. I must be missing something obvious ? On Monday, January 4, 2016 at 3:15:25 PM UTC+1, Jens wrote: > > > Not sure if that property still exists in GWT 2.8 beta as we use some GWT >> snapshot build thats in between 2.7 and