Tag Archives: GWT

Dealing with Server Errors with RequestFactory

Request vs RequestContext Only a Request will receive an invocation failure, not a RequestContext GWT developers new to RequestFactory may get caught out by the fact that a RequestContext’s Receiver does not respond to server-side exceptions thrown while processing the … Continue reading

Posted in Uncategorised | Tagged , | Leave a comment

Multiple editors for a single peer domain object

Use @Path(“”) to descend into sub-editors without descending in the peer domain object map Sometimes it may be useful to use split an editor up into multiple editors. A reason may be if you intend to use a TabPanel with … Continue reading

Posted in Uncategorised | Tagged , | Leave a comment

Enums play nicely with ValueListBox

public enum Fruit { APPLE ("Apple"), BANANA ("Banana"), ORANGE ("Orange"), MANGO ("Mango"); private String value; Fruit(String value) { this.value = value; } @Override public String toString() { return value; } public static Fruit fromString(String value) { if (value != null) … Continue reading

Posted in Uncategorised | Tagged , , | 1 Comment

Spring Security with GWT & Spring Roo

The following steps show you how to setup Spring Security with the GWT add-on for Spring Roo.  Note that Spring Security alone does not protect you from Cross-Site Request Forgeries (XSRF) – that requires the Roo generated code to make … Continue reading

Posted in Uncategorised | Tagged , , | 16 Comments

Enabling sortable columns with SpringRoo’s GWT front end

Spring Roo’s GWT front end has a listing view that uses CellTable to display the data. CellTable has sorting capability however Roo doesn’t yet utilise this feature, possibly waiting until sorted finders are implemented. To enable this feature we just … Continue reading

Posted in Uncategorised | Tagged , | 2 Comments

New GWT Developer Plugin for Chrome on Linux

About a month ago an alpha release for the GWT Developer Plugin for the Linux variant of Chrome was announced on the GWT issue tracker.  Today was the first chance I had to try it and it works well albeit … Continue reading

Posted in Uncategorised | Tagged , , | Leave a comment