Re: GWT 2.4 CellTable issue

2011-09-30 Thread zip184
Here's a better example: Running this code works fine in GWT 2.3 but throws the exception in GWT 2.4 CellTable table = new CellTable(); table.addColumn(new TextColumn() { @Override public String getValue(String object) { return object; } }, "Col"); List l

GWT 2.4 CellTable issue

2011-09-30 Thread zip184
Upgrading from GWT 2.3 to 2.4 caused a client-side exception in a class of mine that extends CellTable. There has been no loss of functionality, but the exception is a constant development annoyance. com.google.gwt.core.client.JavaScriptException: (TypeError): this.insertBefore is not a function

CellTable Image issue

2011-07-28 Thread zip184
I've got a problem trying to change an Image with setResource that's on a CellTable. I'm trying to toggle the Image in an event that's added as a MouseDownHandler on the Image itself. I got the MouseDownHandler to run and the toggling logic is working (the System.out.println is showing that the i

Re: Get keypress info without an event.

2011-05-24 Thread zip184
I thought of that. The problem is that the user might hold the key down before they're over the object I'm capturing the events on. So in that case I wouldn't get the event. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: Get keypress info without an event.

2011-05-24 Thread zip184
Thanks for the help. I tried overriding onBrowserEvent(Event) on MenuBar, but the Event data doesn't seem to be very helpful. I basically need to detect a Ctrl click and/or a middle click (the way to normally get the browser to open new tabs). So I was successful at detecting a click like this:

Get keypress info without an event.

2011-05-23 Thread zip184
I have a MenuBar item Command that needs to know the current state of the keyboard. I basically need to detect whether the Ctrl is down and I don't have access to any KeyPressEvent that I'm aware of. I added the item with MenuBar.addItem(String, Command). The Command is where the code is that ne

GWT 2.3 web server reload time

2011-05-05 Thread zip184
I just upgraded to 2.3. Did anyone else notice the web server takes a lot longer to reload than it did before? Did it switch back to using tomcat again or something? My VC arguments are: -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -Thanks -- You received this message because yo