> > As opposed to IModel getListItemModel(final IModel listViewModel, > > final int > > index) ? > > What exactly does index mean in a context of a database > backed list? > > What kind of a model does listViewModel represent? > > > > Ok didn't know you would use that method to get a listitem model. > > But this you already can make on youre own that's no problem at all. > Just subclass ListView once and make youre own IModel > definition/implementation for that ListView And youre IModel > definition has that getListItemModel() method override the > getListItemModel() of listview. Cast to youre Model and call it.
You are right I can do that no problem. What I was trying to achieve in all these discussions is to create a simpler/standard/non-list-dependent/more user-aware way to do this because I thought other people would have the same problem and thus would need a similar solution. However, since no one chimed in on this, I guess I am alone. So, maybe, the best solution is for me to roll my own version of listview that works how I want it to and leave the framework default as it is since it looks like it works for most people. Igor ------------------------------------------------------- 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