private User createUser(int i) {
   User u = new User();
   u.setAge(i);
   u.setFirstName("Humpty" + i + 10);
   u.setLastName("Dumpty" + i + 200);
   return u;
 }
 @OnEvent(component = "inplaceeditor", value = InPlaceEditor.SAVE_EVENT)
 void actionFromEditor(Long id, String value) {
   User user = (User) users.get(id.intValue());
   user.setLastName(value);
   System.err.println("User #" + id + " changed to '" + value + "'");
 }