Loading CssResource from a String?

2013-12-06 Thread Nolan Brassard
I'm attempting to give our users the ability to customize a limited subset of our layout for OEM reasons. The parts of our layouts in question that we want to give them the ability to change use Css styles that we inject using the client bundle. Given a string in which contains css styles that

Re: Layout with nested SplitLayoutPanel

2013-12-06 Thread Magnus
Hi, this means, I cannot do it in a declarative way? So whenever the form is displayed, compute the pixel values and set them manually? But I remember that when fetching the sizes of a panel on creation / within the constructor the size values often are 0. How can I compute them? How would yo

SingleSelectionModel with KeyProvider does not update selected object when data is refreshed

2013-12-06 Thread stuckagain
Hi, I noticed an issue in the SingleSelectionModel when used in combination with a KeyProvider and updating the cell table with new data. The idea is that I want to retain selection, and that seems to work. What does not work is when I use the getSelectedObject method I get an older version of

Tomcat exception

2013-12-06 Thread Magnus
Hi, my user reported a rpc.StatusCodeException. The tomcat logs report the exceptions shown below. But I cannot see what the problem is. Any hints? Thanks Magnus - SEVERE: Exception while dispatching incoming RPC call java.io.IOException at org.apache.jk.common.JkInputStream.recei

Re: Layout with nested SplitLayoutPanel

2013-12-06 Thread Patrick Tucker
SplitLayoutPanel does not do percentages so you will have to calculate the center in pixels. On Friday, December 6, 2013 12:31:17 AM UTC-5, Magnus wrote: > Hi, > > I would like a panel with split bars like this: > > +++ > ||

Re: What is the best practice for coding addChangeHandler in Gwt?

2013-12-06 Thread Jens
You have already answered your own question. As you only need exactly on change handler registered, you can not put the handler registration code inside a method that is triggered by a button. Normally you add handlers either in the constructor of your widget or in the widgets onLoad() method (