Hi.

I'm using Struts 1.1 RC1 and wants to validate a date in an input field as
required and date. The part in validation.xml describing the validation is :

<field property="orderstart" depends="required,date">
    <arg0 key="gameparamForm.orderstart.displayname"/>
    <var>
        <var-name>datePattern</var-name>
        <val-value>dd.MM.yyyy</val-value>
    </var>
 </field>

The required field triggers, but regardless of value in the date field, the
date validation does not trigger an error message. In the application
resources file, the errors.date field is populated.

Any help is greatly appreciated !

Best Regards
Eirik Kjølsrud, Norway




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

Reply via email to