All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mockrunner.example.struts.validation.xml Maven / Gradle / Ivy

Go to download

Mockrunner is a lightweight framework for unit testing applications in the J2EE environment. It supports servlets, filters, tag classes and Struts actions. It includes a JDBC a JMS and a JCA test framework and can be used to test EJB based applications.

The newest version!
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">

<form-validation>
   
   <formset>

      <form name="/greetings">
         <field property="name" depends="required,minlength">
         	     <arg key="name" resource="false" position="0"/>
         	     <arg1 name="minlength" key="${var:minlength}" resource="false" position="1"/>
                 <var>
                     <var-name>minlength</var-name>
                     <var-value>5</var-value>
                 </var>
         </field>
      </form>
      
   </formset>
</form-validation>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy