Title |
When process validation, could not find a method for password.
When process validation, could not find a method for password.
|
Register |
Admin |
Date Asked |
2012-04-18 |
Views |
5,063 |
Attachments |
|
- Question
-
Hello
When process validation, the error which is validatePassword1 method missing occurs.
egovframework.rte.ptl.mvc.validation.RteFieldChecks.validatePassword1
Please check the error.
- Answer
-
Hello
That error occurs because the corresponding method is missing.
Reference below open community runtime environment project or
http://open.egovframe.go.kr/scm/viewvc.php/trunk/Presentation/egovframework.rte.ptl.mvc/src/main/java/egovframework/rte/ptl/mvc/validation/?root=egovframerte
Reference attached java file(ValidatorChecks.java) and valiator-rules.xml. Apply those files to the project.
- ValidatorChecks.java : include the 4 missing validation methods (change the package to the project package)
- validator-rules.xml : swap for src/main/resources/validator/valiator-rules.xml
Change classname property (assign above ValdiatorChecks class)
|