Yeah, I'm not totally crazy about that either. But the fact that we only try to convert when there is a converter set comes from: * some components, like CheckBox use their own kind of conversion, and thus override the convertValue method * some users strongly objected against Wicket always trying to use converters. In older Wicket versions, it was integrated in it's adoption of OGNL. But users wanted less magic.
Eelco On 5/10/06, Ittay Dror <[EMAIL PROTECTED]> wrote:
i created a TextField, without setting its type, but with overriding of getConverter(), i also used a CompoundPropertyModel what happened is that this converter was not used in convert(), but was used by the property resolver. inside the PropertyResolver code, it threw an exception, which, was rethrown as InvocationException, which was considered unexpected, and so the page was redirected to the error page (rather than showing a conversion error) ittay -- =================================== Ittay Dror Chief architect, openQRM TL, R&D, Qlusters Inc. [EMAIL PROTECTED] +972-3-6081994 Fax: +972-3-6081841 http://www.openQRM.org - Keeps your Data-Center Up and Running ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user