UserService userService = CoreObjectFactory.getUserService();
// get the form
UserProjectForm userProjectForm = (UserProjectForm) form;
// call the service
userService.addUserToProject(userProjectForm.getUserPersistanceId(), userProjectForm.getBasicProjectPersistanceId());
// return to the detail
return mapping.findForward("userList");
}