Esempio n. 1
0
 @Override
 public void setBean(BugWithBLOBs newDataSource) {
   this.setFormLayoutFactory(new FormLayoutFactory());
   this.setBeanFormFieldFactory(new EditFormFieldFactory(EditForm.this));
   super.setBean(newDataSource);
 }
 public void displayAdvancedForm(final SimpleUser newDataSource) {
   this.setFormLayoutFactory(new AdvancedFormLayoutFactory());
   this.setBeanFormFieldFactory(new AdvancedEditFormFieldFactory(editUserForm));
   super.setBean(newDataSource);
 }