See GenericPanel and few other components which implement IGenericComponent
We may make them all generic for Wicket 7 if JDK 7 is minimum and diamonds
can be used.


On Sun, Feb 3, 2013 at 3:28 PM, Ondrej Zizka <ozi...@redhat.com> wrote:

> Hi,
>
> wouldn't it be nice if Panel had type param - Panel<T> - which would be
> used for:
>     IModel<T> getDefaultModel()
>     T getDefaultModelObject()
>
> Or why is it not so?
>
> Thanks,
> Ondra
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org>
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to