Hi, you most probably know it already: there is a bug in the Castor IntegerValidator.
In method 'void validate(final Object object, final ValidationContext context)' line 337 (Castor 1.1) should read value = ((Integer) object).intValue(); instead of value = ((Long) object).longValue(); Greetings Rudi Woehrl _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email