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 IModel<List<? extends
> Foo>> for a ListView, then I get an error in the ListView's constructor.
> Is there a good solution for both, other that having two types of
> IModel<List<?>> for the same object, one with the "? extends" and one
> without, or ignoring the type parameters on DropDownChoice, as I always have
> in the past?

Raw types shouldn't be used at all so we should find a 
better solution.

Based on this

  https://issues.apache.org/jira/browse/WICKET-1512

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. 

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

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

Reply via email to