Al Maw wrote:
In my opinion, if you override getConverter() then it should always be used, even if that means we have to call it with a null type parameter. (Normally when you're overriding it for a particular component you don't care about the type parameter anyway).
Looking at this further, it seems logical to me that we should remove the convertValue(String[] value) method from FormComponent and push the logic in there into a "proper" converter, which gets registered for null types.
Thoughts? Regards, Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com