Chapter 9. The Editor framework

 

This chapter covers
  • Introducing the Editor framework
  • Moving data from objects using editors and drivers
  • Using adapters that provide reusable editor logic

 

In the previous chapter you learned how to store and transfer data from beans residing on the server side to a client. In this chapter we’ll take a closer look at how you can plug this data into form fields on the client side through the use of the Editor framework, which saves you writing a bunch of code for copying data from widgets to bean objects.

The Editor framework is perhaps best explained with an example. Suppose you have a form with 10 TextBox fields, and when the user clicks Submit, you want to copy this data to a Java object that ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.