117118119120121122123124125126127
} } } private void bootstrapUsers() { UserDto dto = new UserDto(); dto.login = "admin"; dto.password = "admin"; dto.roles.add(Role.ADMIN); userService.create(dto);
8384858687888990919293
} }); } private void onCreateUser() { IModel<UserDto> dto = new Model<UserDto>(new UserDto()); addOrReplace(new UserDtoEditor("editor", dto, Mode.CREATE) { private static final long serialVersionUID = 1L; @Override protected void onCancel() {