Re: Custom Component Converter not called

2013-09-08 Thread Malte Neumann
Am 07.09.2013 22:19, schrieb Sven Meier: if you don't specify the type, a TextField will try to resolve the type from its model, see AbstractTextComponent#resolveType() and IObjectClassAwareModel. Thanks for this hint. During further tests after my mail, I found a situtation where the

Custom Component Converter not called

2013-09-07 Thread Malte Neumann
Hello! I've got a problem with a TextField and the depending CustomConverter. The converter of the component is not been called. So the default converter takes the task and fails. In my case this problem occurs when my IModel.getObject returns null. The problem arises in the

Re: Custom Component Converter not called

2013-09-07 Thread Sven Meier
Hi, if you don't specify the type, a TextField will try to resolve the type from its model, see AbstractTextComponent#resolveType() and IObjectClassAwareModel. Shouldn't there be a pre-examination wheter a component converter is available? Without type there can't be a converter. Sven