Example #1
0
 @Override
 public User getObject() {
   User u = new User();
   u.setEmail(this.form.getValue("email"));
   u.setPlainPassword(this.form.getValue("password"));
   return u;
 }
Example #2
0
 @Override
 public void setDefault(User object) {
   this.form.setDefault("email", object.getEmail());
 }