Which type of range validator? There are specific subclasses for each type, one for Dates and one for Int (there's not one for Strings, but one could be made).
> -----Original Message----- > From: Samuel Mota [mailto:[EMAIL PROTECTED] > Sent: Monday, January 19, 2004 10:01 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] FieldRangeValidator > > > I've got the last CVS snapshoot for WW and XW and the > FieldRangeValidator is not working (for me:). > > It throws a ClassCastException at String.compareTo(Object) > method Since the value object and the MinComparatorValue() > and MaxComparatorValue are not String objects it is throwing > the exception. > > what is the solution? I'd like to use it with a String field, > not only a numeric field ... > > thanks > > + Samuel G. Mota > + [EMAIL PROTECTED] > + 55 (11) 4417 7093 > + Business Application Dpt. > + Netset Serviços em Tecnologia > + a Hypercom Company > + http://www.hypercom.com > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, > CA. http://www.eclipsecon.org/osdn > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork