コード例 #1
0
 @Override
 public void setBean(BugWithBLOBs newDataSource) {
   this.setFormLayoutFactory(new FormLayoutFactory());
   this.setBeanFormFieldFactory(new EditFormFieldFactory(EditForm.this));
   super.setBean(newDataSource);
 }
コード例 #2
0
 public void displayAdvancedForm(final SimpleUser newDataSource) {
   this.setFormLayoutFactory(new AdvancedFormLayoutFactory());
   this.setBeanFormFieldFactory(new AdvancedEditFormFieldFactory(editUserForm));
   super.setBean(newDataSource);
 }