Google Web Toolkit

GWT 2.0 Declarative Interface Tutorial Project Download

I have now made the project used in the GWT 2.0 tutorials available for download. The project includes declarative interfaces and method binding. It also includes the original GWT RPC example code so the application acts exactly the same as the GWT created example Project Download

GWT 2.0 Declarative Interfaces Event Handler Binding

Moving on from the previous tutorial on GWT 2.0 Declarative Interfaces version 2 of GWT also allows dynamic method binding. This means that simply by adding a few Java annotations we can bind methods to interface objects. In the past we would have to add a new ClickHandler to our code and set the click handler in the widget. Now we can easily bind method. Using the code we worked on last time within the WebApplication class we're going to add a method binding to our sendButton go ahead and...

GWT 2.0 Declarative Interfaces

Ok so if you've followed the previous stage you'll have a running web application that looks like the following: This is the sample web application that GWT creates and it demonstrates some of the properties of GWT including Remote Procedure Calls (RPC). Clicking on the send button sends the name entered to the server and the server responds. We'll convert this example to use Declarative User Interfaces. [ad#ContentAdvert] Editing the GWT Module defintion Your application will hav...
Test link....