I don't like it at all. There's no reason to copy-paste our way into generics. If we can't use them, we can't use them.
On 7/23/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > We're thinking about how specific models (like for ListView) would look > like. Would could have an interface like: > > public interface IListModel extends IDetachable > { > List getList(Component component); > > void setList(final Component component, List list); > } > > And force using that in ListViews. > > And advantage of this - like someone pointed out earlier this week - is > that it is clear what kind of objects it has to provide, and that we > force that statically. > > HOWEVER (yes a big however), this would also mean a serious loss of > flexibility. > > Right now, you can use any model you want, including e.g. property > models. Not anymore in our new situation. Sure, we could build models > that support that, but it would mean that the number of models seriously > increases, making it harder for people to dig through the options. > > Any thoughts about this? > > Eelco > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user