Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added a space in 'wicket.util.convert.ITypeConverter}}s' because Confluence wasn't parsing the monospaced text correctly because of the 's' after '' and would output the entire string

...

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.