O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

BeanModel grid

For brevity and simplicity, the recipes in this chapter relied on local (client-side) data, in real life. However, you will certainly be exposed to the challenge of working with models (objects) on/from the server, requiring a slightly different approach to the set up of at least the store on which the grid is built.

BeanModel is a ModelData instance that wraps a bean, which is usually a server-side model object, that implements BeanModelTag interface. They cannot be instantiated directly, rather they are returned by a BeanModelFactory.

The following screenshot shows the simple three-column grid that we will be using for this recipe:

How to do it...

Set()up a ListStore using a ListLoader that in turn uses a RpcProxy to get the remote ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required