Re: Can't get correct DOMImpl when chromeframe installed but turned off

2011-09-09 Thread Paul Smith
After taking 2.4 I got caught by this issue also. If chrome frame is installed but not enabled for the page, then gwt uses deferred binding stuff meant for chrome and not the ones meant for ie. It breaks all over the place! Please fix this! You might say just add the meta tag to make it use

Putting bootstrap js in host page

2011-02-10 Thread Paul Smith
I was just wondering if anyone has tried to put the bootstrap js straight into the host page. It seems like it would reduce the number of http requests in a typical GWT app. Typical GWT apps have a host page (probably not set to cache forever), which includes the boostrap js (which typically

Re: IE 7 bug? LayoutPanels cease resizing after first time displayed

2010-09-09 Thread Paul Smith
When you navigate between the screens are you removing the prior panel? If so then you're probably encountering a bug that I found: http://code.google.com/p/google-web-toolkit/issues/detail?id=5245 You could workaround it by hiding the previous panel instead of removing it. Or you can call

Re: how to call forcelayout() in a tablayout panel

2010-08-31 Thread Paul Smith
I had a need for this recently - this is what I used: private native void forceTabLayoutPanelToLayout(TabLayoutPanel tabLayoutPanel) /*-{ var layoutPanel = tablayoutpan...@com.google.gwt.user.client.ui.composite::getWidget() ();

Re: Changing CSS on the fly

2010-06-02 Thread Paul Smith
It is possible in straight javascript, but I don't think there's anything in GWT to help out. See http://developer.apple.com/internet/webcontent/styles.html for an example. I used it a few years back for something really similar - changing the style of a bunch of elements by modifying a css