DynamicForm form = new DynamicForm();
form.setWidth(300);
final BlurbItem blurbItem = new BlurbItem();
form.setItems(blurbItem);
final DateChooser dateChooser = new DateChooser();
dateChooser.setWidth(100);
dateChooser.addDataChangedHandler(new DataChangedHandler() {
@Override
public void onDataChanged(DataChangedEvent event) {
blurbItem.setValue("Selected date : " + dateChooser.getData());
}
});
layout.addMember(dateChooser);
layout.addMember(form);