#199 - Added missing messages and fixed a JavaDoc error in web example.
This commit is contained in:
committed by
Oliver Gierke
parent
9ee13be9b5
commit
bee8a81118
@@ -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
|
* Registers a new {@link User} for the data provided by the given {@link UserForm}. Note, how an interface is used to
|
||||||
* bind request parameters.
|
* 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 binding the result of the binding operation.
|
||||||
* @param model the Spring MVC {@link Model}.
|
* @param model the Spring MVC {@link Model}.
|
||||||
* @return
|
* @return
|
||||||
|
|||||||
@@ -1,2 +1,7 @@
|
|||||||
|
user.username.empty = Username is required!
|
||||||
user.username.exists = Username already exists!
|
user.username.exists = Username already exists!
|
||||||
user.password.no-match = The given passwords don't match!
|
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!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user