Hi, all:


When I create a converter in wicket 2.0, I can't finish my work,  
because target class is missing in IConverter's convertToObject method.



Some generic converters need to know the target class when convert  
String to class, for example EnumConverter and EntityConverter.



When convert String to enum, I don't want write a converter for every  
enum, only one is enough if I can’t know the target class in  
convertToObject method. The EntityConverter is same when I want  
convert a id to a domain entity (use orm).

So, I suggest to add Class targetClass parameter to convertToObject  
method.


Best regards,

Kuisong Tong

-------------------------------------------------------------------------
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-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to