THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Note that we used the converter of the most generic type, wicket.util.convert.IConverter
. If you use this type, you have to look at the requested target type (thus you code like: if(c.equals(URL.class))
) yourself. While using wicket.util.convert.Converter
is easier, as in that case you can couple {{wicket.util.convert.ITypeConverter
}} s, using IConverter directly is transparent (easier to debug) and it forces to do only one type of conversion.