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 your model supertype from List<Foo> to List<? extends Foo>

> That just seems.... odd.

Welcome to Java generics...

Martijn

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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

Reply via email to