JdbcMapper/samples/system-controls-jdbc/web/WEB-INF/beehive-netui-validator-rules.xml

39 lines
1.5 KiB
XML
Raw Normal View History

<!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>