On Mon, 02 Mar 2009, Johan Compagner wrote:
> If we loose the wildcard is it then still possible to do everything?
> 
> We have it to be able to use a <Manager> List when we declare it as a
> <People>
> When you have that you have to copy it over i guess by a helper method.
> 
> I just want to know for sure that i dont miss something that if we remove it
> that then something is not possible anymore

Right, for example this does not work

  List<Serializable> doesntWork = new ArrayList<String>(Arrays.asList("foo", 
"bar"));

But this does

  List<Serializable> works = new ArrayList<Serializable>(Arrays.asList("foo", 
"bar"));

As Igor says, this might not be a very common scenario(?). 

The case that has come up a couple of times in the last few
days is that the same model didn't work for DropDownChoice 
and ListView. This seems like a more likely case so it would 
make sense to align them with each other. So far there have 
only been a couple of -1s, so maybe that will happen.

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