Apr 21
For those of you who don’t know what OpenID is, get to know it now. This post is going to be about how to use OpenID authentication in your GWT applications.
First, a reminder of what OpenID is:
OpenID is a free and easy way to use a single digital identity across the Internet.
Continue reading »
Mar 29
For a couple of weeks now, the Google Web Toolkit 1.5 milestone 1 was available for download (announcement here). This completes the set of Java language features added to Java 5 by adding support for enums (much better than my workaround enum), generics and for-each loops. GWT itself even uses generics for the asynchronous calls, so that the AsyncCallback interface now accepts a type parameter which is used later for the onSuccess callback method.
I think that the beautiful part of it all is that for those of us who are already used to the new syntax features, this new release makes GWT development feel even smoother than before.
A word of warning though: from my experience it seems that the milestone doesn’t work well under Mac OS X with the new developers’ preview of Java 6. If you are in this category, you’ll have to rollback your version to the supplied Java 5 implementation.
Oct 12
I wrote about GWT’s lack of drag and drop a long time ago, and since then have done many things instead of making a generic drag-drop mechanism as promised. Luckily, some other people have, and it seems like their solution is quite good and solves a wide array of drag-drop problems.
Since it might be interesting to some, this post will be about how a generic draggable component can be written. I’ve coded a draggable panel at the time to help make any Widget into a draggable version of itself, and I’ll describe how that was done. Warning: This is a step by step recipe on how to make a draggable widget of your own. If you’re just looking for code examples or a library, you’d better take a look at the previously mentioned project‘s code and binaries. Continue reading »