gwt2

How can I use @UIBinder with CheckBox ValueChangeEvent?

I am trying to get this to work: @UiField CheckBox showDeleted; @UiHandler("showDeleted") public void onShowDeletedClicked(ValueChangeEvent<Boolean> ev) { ... } I get these errors from the GWT Compiler: Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator [WARN] The method 'getAssociatedType()' in 'ValueChangeEven...

Assigning a Seam Component as An event handler to GWT Button

Hi I am designing a web application which will use gwt and seam. I have gone through the examples provided by Seam docs. There the proposed solution is to use remoting to hook gwt widgets to seam components. Is there any other technique by which this can be achieved ? ...

GWT 2.1 - Creation of a Progress Bar Cell & related DataProviders options

I am in the process of creating a Progress Bar Cell that will work in a GWT2.1 CellTable. So far I have the cell rendering a simple html progress bar in a manner that is consistent with other cell renders. I need to somehow update the progress bar cell value after receiving a new value. Should I be using the updateRowData method on...

GWT CSSResrouces - what's the advantage or the best way

Hey, I'm developing a GWT app and now facing the CSS part. I read a lot about this topic at the official site but still have a few questions and hope someone can give me a hint. When I'm using CSSResource the css styles will be compiled into the code - right? So it's not possible to change it without recompile the app. But what I wanna...

google wave: how did they make divs clickable

Hello, As we are facing GWT performance issues in a mobile app I peeked into Google Wave code since it is developed with GWT. I thought that all the buttons there are widgets but if you look into generated HTML with firebug you see no onclick attribute set on clickable divs. I wonder how they achieve it having an element that issues ...

Replacing URL to get locale from a drop-down list in GWT behaves strangely on Safari 5 for Mac

Hello, I've deployed on Tomcat 6.0.29 on Mac OS X 10.5.8 a simple internationalized 2.0.4 GWT application using Eclipse (equivalent to HelloGWT sample) which has a drop-down list to get the locales and replace the url depending on the choice. It works fine when in development mode, either in Firefox or Safari. When deployed to Tomcat,...

A more efficient approach to attach components to panel and render them on screen

His, I am using UiBinder whenever possible to improve application performance when possible. However, as far as I understand, UiBinder is at its best when corresponding template contains losts of static information. In my case, mobile app, most of the screen areas contain dynamic information. For instance, there is a panel with butto...

How to do single row expansion with CellTable?

I'm trying to use the new GWT CellTable widget but my table needs to support one row expansion, i.e. there is a zippy on the left of a row and when it's clicked, the row should expand to provide more detail information and this row should span across all columns. Is it possible to achieve this with the CellTable? How do I add a row that ...

GWT native event does not provide intended behavior

I have a text widget where I want to make enter event to behave like a tab event. so I capture the Key press event and raise a tab native event. However the tab behavior is not reflected in the application. The code for event handler is public void onKeyPress(KeyPressEvent event) { int keyCode = event.getNativeEvent()...