Re: Panel not using generics

2009-09-09 Thread Ernesto Reinaldo Barreiro
What's the meaning you want to attach to the missing generic parameter? Best, Ernesto On Wed, Sep 9, 2009 at 12:23 PM, Kurt Zitze g...@gmx.net wrote: hey, why does the panel is not using generics for type safety? regards -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla

Re: Panel not using generics

2009-09-09 Thread garz
i want the getModelObject() (which is in fact the getDefaultModelObject()) to return the actual type that i dont need to do unchecked casts. i'm just wondering, now that everything uses generics, why does the panel do not use generics? just want to understand the reason behind this. regards garz

RE: Panel not using generics

2009-09-09 Thread Stefan Lindner
: garz [mailto:g...@gmx.net] Gesendet: Mittwoch, 9. September 2009 13:24 An: users@wicket.apache.org Betreff: Re: Panel not using generics i want the getModelObject() (which is in fact the getDefaultModelObject()) to return the actual type that i dont need to do unchecked casts. i'm just wondering

Re: Panel not using generics

2009-09-09 Thread Ernesto Reinaldo Barreiro
The main point I could object is that you might have panels that are not associated to a model... and then you will still have to pass a model object type to avoid unchecked warnings... I know I could always use PanelVoid, or PanelObject, but as a user I would not like to be forced to do that all

RE: Panel not using generics

2009-09-09 Thread Craig McIlwee
: Wednesday, September 09, 2009 7:58 AM To: users@wicket.apache.org Subject: Re: Panel not using generics The main point I could object is that you might have panels that are not associated to a model... and then you will still have to pass a model object type to avoid unchecked warnings... I know I