You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Douglas Ferguson <do...@buzzstream.com> on 2010/06/29 14:29:27 UTC
ListChoice - generics for model defined wrong
I was just attempt to use the ListChoice and it seems to me that the constructor signatures are wrong.
The model for this should be List<? extends T> not List<T>, otherwise you can't select more than one item (T), which is the point..
D/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: ListChoice - generics for model defined wrong
Posted by James Carman <ja...@carmanconsulting.com>.
ListChoice doesn't allow you to choose multiple. You want ListMultipleChoice.
On Tue, Jun 29, 2010 at 8:29 AM, Douglas Ferguson
<do...@buzzstream.com> wrote:
> I was just attempt to use the ListChoice and it seems to me that the constructor signatures are wrong.
>
> The model for this should be List<? extends T> not List<T>, otherwise you can't select more than one item (T), which is the point..
>
> D/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org