diff --git a/web/example/src/main/java/example/users/web/UserController.java b/web/example/src/main/java/example/users/web/UserController.java index 14164144..721c78d4 100644 --- a/web/example/src/main/java/example/users/web/UserController.java +++ b/web/example/src/main/java/example/users/web/UserController.java @@ -75,7 +75,7 @@ class UserController { * Registers a new {@link User} for the data provided by the given {@link UserForm}. Note, how an interface is used to * bind request parameters. * - * @param form the request data bound to the {@link UserForm} instance. + * @param userForm the request data bound to the {@link UserForm} instance. * @param binding the result of the binding operation. * @param model the Spring MVC {@link Model}. * @return diff --git a/web/example/src/main/resources/messages.properties b/web/example/src/main/resources/messages.properties index adf14cde..4d8a1e80 100644 --- a/web/example/src/main/resources/messages.properties +++ b/web/example/src/main/resources/messages.properties @@ -1,2 +1,7 @@ +user.username.empty = Username is required! user.username.exists = Username already exists! -user.password.no-match = The given passwords don't match! \ No newline at end of file +user.username.invalidFormat = Invalid Username format! +user.password.empty = Password is required! +user.password.no-match = The given passwords don't match! +user.repeatedPassword.empty = Repeated password is required! +