well yeah this is exactly the same except for locator.

code like this
public final <C> IConverter<C> getConverter(Class<C> clazz)
{
    if (Date.class.isAssignableFrom(clazz))
    {
        return (IConverter<C>)converter;
    }
    else
    {
    return super.getConverter(clazz);
    }
}
should always ring bells that something is wrong.

anyway I think that type checking should be done while registering the
converter and not while getting it.

pozdrawiam
Paweł Kamiński

kami...@gmail.com
pkaminski....@gmail.com
______________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to