Re: [Wicket-user] on specific models, e.g. for ListView

2005-07-26 Thread Phil Kulak
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:

[Wicket-user] on specific models, e.g. for ListView

2005-07-23 Thread Eelco Hillenius
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.

[Wicket-user] on specific models, e.g. for ListView

2005-07-23 Thread Igor Vaynberg
I think our previous discussion was a bit misunderstood. I was not trying to replace the imodel interface for the exact reason you mentioned below, what I was trying to replace is the model object interface which is currently a list. So instead of casting the model object to a list and retrieving

Re: [Wicket-user] on specific models, e.g. for ListView

2005-07-23 Thread Eelco Hillenius
Igor Vaynberg wrote: I think our previous discussion was a bit misunderstood. I was not trying to replace the imodel interface for the exact reason you mentioned below, what I was trying to replace is the model object interface which is currently a list. So instead of casting the model object