Is there a reason why a converter is not allowed to return null?

See PropertyResolver (line 821):

>Object converted = converter.convert(value, getMethod.getReturnType());
>if (converted == null && value != null)
>{
>  throw new ConversionException("Can't convert value: " + value + " to class: "
>       + getMethod.getReturnType() + " for setting it on " + object);
>}

???

Sven


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to