Hi Timo,

thanks for replying.

> Normally you can just register converters in init() of your
> Application subclass.

How is this done? What method do I call? The only way I see to add
your own converters is the way I described previously or explicitly
cast the IConverterLocator an
org.apache.wicket.util.convert.ConverterLocator since there is no set
method on the IConverterLocator interface that allows to add
converters. Or am I overlooking something?

Thanks in advance,
Lars



On Wed, Jul 23, 2008 at 6:16 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
> On Mon, 21 Jul 2008, lars vonk wrote:
>> Is it maybe an idea to change this to a registerConverter(IConverter)
>> method that I can call? That saves me a custom IConverterLocator to
>> implement.
>
> Normally you can just register converters in init() of your
> Application subclass. You only need your own IConverterLocator
> implementation if you want more specialised way of locating
> converters than the default (for example, to support Hibernate
> proxies).
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy    <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to