Author: amarkhel
Date: 2009-04-14 10:27:34 -0400 (Tue, 14 Apr 2009)
New Revision: 13568
Modified:
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/domain/User.java
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/service/Constants.java
Log:
Fix RF-6782
Modified:
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/domain/User.java
===================================================================
---
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/domain/User.java 2009-04-14
14:12:42 UTC (rev 13567)
+++
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/domain/User.java 2009-04-14
14:27:34 UTC (rev 13568)
@@ -116,6 +116,9 @@
private String login;
@Transient
+ @NotNull
+ @NotEmpty
+ @Length(min=3)
private String password;
@Transient
Modified:
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/service/Constants.java
===================================================================
---
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/service/Constants.java 2009-04-14
14:12:42 UTC (rev 13567)
+++
trunk/test-applications/realworld2/ejb/src/main/java/org/richfaces/realworld/service/Constants.java 2009-04-14
14:27:34 UTC (rev 13568)
@@ -98,8 +98,8 @@
public static final String USER_VARIABLE = "user";
//ID's
- public static final String REGISTER_LOGIN_NAME_ID = "register:loginName";
- public static final String REGISTER_CONFIRM_PASSWORD_ID =
"register:confirmPassword";
+ public static final String REGISTER_LOGIN_NAME_ID = "mainform:loginName";
+ public static final String REGISTER_CONFIRM_PASSWORD_ID =
"mainform:confirmPassword";
public static final String SHELF_ID = "shelf";
//Roles
Show replies by date