gwtsmartgwtgwt-platform

GWT development mode with FireFox


I am developing a GWT application using GWT, SmartGWT and GWTP. At the beginning I run the development mode with IE 8 and it works fine. But when I run the dev mode with FF, some Click Events are not response. I don't know if this happens because I use SmartGWT or GWTP. Could anyone tell me what's happening? Thanks.


Here is the code for one the not responding ClickEvent on the SmartGWT listgrid:

navigationListGrid.addRecordClickHandler(new RecordClickHandler() {

    @Override
    public void onClick(ClickEvent event) {
        Record record = event.getRecord();
        PlaceRequest myRequest = new PlaceRequest(record.getAttributeAsString("place"));
        placeManager.revealPlace(myRequest);
    }
});

Solution

  • Firefox releases updates rapidly, and their plugin design means that the GWT Dev Mode plugin must be modified every time a new release is made, the recompiled, and re-released. Long before an official release is made, Alan Leung on the GWT team posts a link to the next version. I've been using FF9 for some time, with the plugin provided on this post https://groups.google.com/d/msg/google-web-toolkit/jZ02n9v9-H4/87XWXmjcCoAJ. If you still have problems with that plugin and FF9, add a comment on that thread with a code sample to reproduce it so the plugin bug can be investigated before the official version is released.

    Chrome is actually significantly slower than most other browsers in Dev mode (compiled javascript will probably be faster in Chrome though) and there are bugs that the team is unable to keep up with http://code.google.com/p/google-web-toolkit/issues/detail?id=5778#c65 - the recomendation from project member Thomas Broyer is to use firefox instead.

    If you also have problems with Firefox with compiled javascript, that may suggest a bug with GWT, but in production mode, GWT should be fully compatible with the latest Firefox versions.