Author: ivaynberg
Date: Sat Oct 14 13:06:40 2006
New Revision: 464004

URL: http://svn.apache.org/viewvc?view=rev&rev=464004
Log:
align with feedback message improvement

Modified:
    
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/wizard/NewUserWizard.java

Modified: 
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/wizard/NewUserWizard.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/wizard/NewUserWizard.java?view=diff&rev=464004&r1=464003&r2=464004
==============================================================================
--- 
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/wizard/NewUserWizard.java
 (original)
+++ 
incubator/wicket/trunk/wicket-examples/src/main/java/wicket/examples/wizard/NewUserWizard.java
 Sat Oct 14 13:06:40 2006
@@ -42,6 +42,7 @@
 import wicket.model.Model;
 import wicket.model.ResourceModel;
 import wicket.model.StringResourceModel;
+import wicket.validation.IValidationError;
 import wicket.validation.ValidationError;
 import wicket.validation.validator.EmailAddressPatternValidator;
 
@@ -197,7 +198,7 @@
                                                {
                                                        if 
("".equals(rolesSetNameField.getInput()))
                                                        {
-                                                               
rolesSetNameField.error(new ValidationError()
+                                                               
rolesSetNameField.error((IValidationError)new ValidationError()
                                                                                
.addMessageKey("error.noSetNameForRoles"));
                                                        }
                                                }


Reply via email to