예제 #1
0
 private Account save(Account ib) {
   try {
     return service.save(sellerCombo.getValue(), startDatePicker.getValue());
   } catch (Exception e) {
     e.printStackTrace();
     resetNodesOnError(e);
     return null;
   }
 }
예제 #2
0
 @Override
 protected List<InputNode<?>> addNodes() {
   sellerCombo.name("Seller").items(getSellers()).build();
   startDatePicker.name("Start Date");
   return Arrays.asList(sellerCombo, startDatePicker);
 }