From bee8a81118e1cf3fec3ef5ac91c4e9d3677b6a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Ple=C3=9F?= Date: Wed, 20 Jul 2016 13:41:48 +0200 Subject: [PATCH] #199 - Added missing messages and fixed a JavaDoc error in web example. --- .../src/main/java/example/users/web/UserController.java | 2 +- web/example/src/main/resources/messages.properties | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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! +