Re: LDM with Generics for DropDownChoice

2009-03-01 Thread Timo Rantalaiho
On Wed, 25 Feb 2009, Timo Rantalaiho wrote: I'd say that ListView is wrong here. I created a new Jira issue on fixing that https://issues.apache.org/jira/browse/WICKET-2126 and will do if there are no objections or better ideas. Well, Igor objected very convincingly :) So now there

Re: LDM with Generics for DropDownChoice

2009-02-24 Thread Matthew Hanlon
(); } } -- View this message in context: http://www.nabble.com/LDM-with-Generics-for-DropDownChoice-tp22155211p22164005.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe

Re: LDM with Generics for DropDownChoice

2009-02-24 Thread Timo Rantalaiho
On Tue, 24 Feb 2009, Matthew Hanlon wrote: I've always handled the typing problem with DropDownChoice and my list models by just ignoring it and not applying type parameters to the DropDownChoice. This is because if I use the same IModelList? extends Foo for a ListView, then I get an error in

Re: LDM with Generics for DropDownChoice

2009-02-23 Thread Matt Welch
-- Jeremy Thomerson http://www.wickettraining.com -- View this message in context: http://www.nabble.com/LDM-with-Generics-for-DropDownChoice-tp22155211p22161940.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: LDM with Generics for DropDownChoice

2009-02-23 Thread Martijn Dashorst
On Mon, Feb 23, 2009 at 2:55 PM, Matt Welch matt...@welchkin.net wrote: Just to make sure I'm understanding this; yuo're saying I have to create a variable and then assign the variable instead of just being able to pass new AllUsersModel() to the DropDownChoice constructor? Nope, just change

Re: LDM with Generics for DropDownChoice

2009-02-23 Thread Matt Welch
(); } } -- View this message in context: http://www.nabble.com/LDM-with-Generics-for-DropDownChoice-tp22155211p22164005.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e

LDM with Generics for DropDownChoice

2009-02-22 Thread Matt Welch
. -- View this message in context: http://www.nabble.com/LDM-with-Generics-for-DropDownChoice-tp22155211p22155211.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: LDM with Generics for DropDownChoice

2009-02-22 Thread Jeremy Thomerson
-with-Generics-for-DropDownChoice-tp22155211p22155211.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: LDM with Generics for DropDownChoice

2009-02-22 Thread Timo Rantalaiho
On Sun, 22 Feb 2009, Jeremy Thomerson wrote: I've been meaning to ask on the dev list why that is. Being forced to declare the ? extends User for a model like yours seems to add complexity, and force a local variable. I haven't looked at it that much, but I know that every time I've had to