hi Jason, all ...

>Do you have the ParameterInterceptor applied before the validation interceptor?

ops ... that was missing :) ... Now the values are OK ... but (there is always a but)

I'm getting a ClassCastException throwed by the String method compareTo(Object)  
because at
AbstractRangeValidator.java at the validate() method this line:
        if ((getMinComparatorValue() != null) && 
(value.compareTo(getMinComparatorValue()) < 0)) {
            addFieldError(getFieldName(), object);
        }
is comparing a string value (value variable) with a Integer object returned by the
getMinComparatorValue()

Am I missing something or this is a bug?

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




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to