registration.addRegistration(manager.addHandler(ItemChangedEvent.getType(), handler));
for (final FormItem formItem : formWidget.getFields()) {
ChangedHandler h = new ChangedHandler() {
public void onChanged(ChangedEvent event) {
itemChangedHandler.onItemChanged(new ItemChangedEvent(formItem.getJsObj()));
}
};
registration.addRegistration(formItem.addChangedHandler(h));
}
return registration;