DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7317>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7317

RequestUtils.populate() convert null or empty parameter to 0 integer





------- Additional Comments From [EMAIL PROTECTED]  2002-05-30 18:13 -------
Can we just add something like this to the Struts Action Servlet to make the 
behaviour the same as previous versions of struts before ConvertUtils was 
modified to make zero the default default. It could be made configurable later 
but this might suffice for the time being. 

ConverUtils.register(new FloatConverter(null), Float.class);
ConverUtils.register(new IntegerConverter(null), Integer.class);
ConverUtils.register(new LongConverter(null), Long.class);
ConverUtils.register(new ShortConverter(null), Short.class);
ConverUtils.register(new DoubleConverter(null), Double.class);
ConverUtils.register(new FloatConverter(null), Float.class);
ConverUtils.register(new BooleanConverter(null), Boolean.class);

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

Reply via email to