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