Commits

Anonymous committed 07956e2

- fix a bug that throws ClassCastException in showcase field validators example
- FieldValidatorsExampleAction-conversion.properties should not have the entry
dateFieldValidator=java.util.Date
This will cause ClassCastException being logged due to WebWork expecting a Converter not a
java.util.Date
- Removed unused imports from FieldValidatorsExampleAction.java

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2948573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 581bd56

Comments (0)

Files changed (2)

webapps/showcase/src/java/com/opensymphony/webwork/showcase/validation/FieldValidatorsExampleAction-conversion.properties

-dateValidatorField=java.util.Date
+#dateValidatorField=java.util.Date

webapps/showcase/src/java/com/opensymphony/webwork/showcase/validation/FieldValidatorsExampleAction.java

 package com.opensymphony.webwork.showcase.validation;
 
 import java.sql.Date;
-import java.util.Random;
 
 /**
  * @author tm_jee
 	private String fieldExpressionValidatorField = null;
 	
 	
-	private String randomNumber = null;
-	
-	
 	public Date getDateValidatorField() {
 		return dateValidatorField;
 	}