On Fri, 2003-06-20 at 14:46, Frank Taffelt wrote:
> Hi,
> i have a form which contains 2 fields with date entries (ex.:'17.06.2003
> 13:55'). What are the steps to get woody to:
> * validate the values against a given dateformat ex. "dd.MM.yyyy HH:mm"
> * to say in a assertion rule that date2 must be greater than date1
> (date1,date2 are the formfields)
> do i have to create a new Woody Datatype or a new ValidationRule for
> Datatype String ?

The best way would be to create a new datatype, at least if you're
interested in getting/setting the value of that widget as a Date object.
Otherwise a validationrule for strings (e.g. a regexp-based rule) might
be sufficient.

Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]

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

Reply via email to