If we can can rid of it, all the better. I don't think the semantics are great, and they are covered through other means now. If we remove getNestedModel, we should also remove wicket.Component#sameRootModel(wicket.Component) and wicket.Component#sameRootModel(IModel) and update the documentation.
Eelco On 6/21/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i am also thinking of moving getNestedModel into a separate interface > because not all models have nested models, and im not even sure we need it > period so removing it completely is also an option imho > > thoughts? > > -igor > > > > On 6/21/06, Matej Knopp <[EMAIL PROTECTED]> wrote: > > I'm looking bit deeper and it seems that the semantics of IWrapModel is > > slightly different than I though, so just silently ignore the question :) > > > > Matej Knopp wrote: > > > Sorry, I meant getNestedModel of course (as there's no such thing as > > > getWrappedModel). > > > > > > Matej Knopp wrote: > > >> Hi, > > >> > > >> I'm going through the big model change in 2.0 and I noticed that now we > > >> have IWrapModel, but IModel still contains getWrappedModel(). > > >> > > >> Wouldn't it be cleaner if the getWrappedModel was a member of > IWrapModel? > > >> > > >> -Matej > > >> > > >> > > >> _______________________________________________ > > >> Wicket-develop mailing list > > >> Wicket-develop@lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > >> > > > > > > > > > > > > _______________________________________________ > > > Wicket-develop mailing list > > > Wicket-develop@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > > > > _______________________________________________ > > Wicket-develop mailing list > > Wicket-develop@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop