Hi,

Is it possible to unit test validations created in xml? I.e. like this:

<validators>
   <!-- Plain Validator Syntax -->
        <validator type="stringlength">
                <param name="fieldName">myPurchaseCode</param>
                <param name="minLength">10</param>
            <param name="maxLength">10</param>
            <param name="trim">true</param>
            <message>Your purchase code needs to be 10 characters
long</message>          
      </validator>
   <!-- Field Validator Syntax -->
        <field name="myPurchaseCode">
                <param name="minLength">10</param>
            <param name="maxLength>10</param>
            <param name="trim">true</param>
            <message>Your purchase code needs to be 10 characters
long</message>
        </field-name>
</validators>

Regards
Gunnar



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to