When process validation, could not find a method for password.
- 작성자
- 관리자
- 작성일자
- 2012-04-18
- 조회수
- 5,028
Q
Hello
When process validation, the error which is validatePassword1 method missing occurs.
egovframework.rte.ptl.mvc.validation.RteFieldChecks.validatePassword1
Please check the error.
A
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)
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)