mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-12-01 21:22:17 -05:00
39 lines
1.5 KiB
XML
39 lines
1.5 KiB
XML
|
<!DOCTYPE form-validation PUBLIC
|
||
|
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
|
||
|
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
|
||
|
<!--
|
||
|
This file contains the default NetUI validator definitions. It should be
|
||
|
placed in /WEB-INF, and is automatically referenced in Struts config files
|
||
|
generated by the Page Flow compiler.
|
||
|
-->
|
||
|
|
||
|
<form-validation>
|
||
|
|
||
|
<global>
|
||
|
|
||
|
<validator name="netui_validwhen"
|
||
|
classname="org.apache.beehive.netui.pageflow.validation.ValidatorRules"
|
||
|
method="validateValidWhen"
|
||
|
methodParams="java.lang.Object,
|
||
|
org.apache.commons.validator.ValidatorAction,
|
||
|
org.apache.commons.validator.Field,
|
||
|
org.apache.struts.action.ActionMessages,
|
||
|
javax.servlet.http.HttpServletRequest,
|
||
|
javax.servlet.ServletContext"
|
||
|
msg="errors.netui_validwhen"/>
|
||
|
|
||
|
<validator name="netui_longRange"
|
||
|
classname="org.apache.beehive.netui.pageflow.validation.ValidatorRules"
|
||
|
method="validateLongRange"
|
||
|
methodParams="java.lang.Object,
|
||
|
org.apache.commons.validator.ValidatorAction,
|
||
|
org.apache.commons.validator.Field,
|
||
|
org.apache.struts.action.ActionMessages,
|
||
|
javax.servlet.http.HttpServletRequest"
|
||
|
depends="long"
|
||
|
msg="errors.range"/>
|
||
|
|
||
|
</global>
|
||
|
|
||
|
</form-validation>
|