ok, i think I got i now. If using pull models with a "dynamic" ListView
within a form, we have to override getListItemModel() and return a
slightly more sophisticated model. This makes sense. But could it be
possible to consolidate these a bit then. What if ListView would have a
new constructor new ListView(String id, IDataProvider dataProvider) ?
The DataView could be deprecated.

Joni


On Thu, 2006-08-10 at 13:28 -0700, Igor Vaynberg wrote:
> i dont think this is a problem with listview. i think joni
> misunderstood what setreuseitems() did and that even with pull models
> it makes sense. in this particular case dataview would suffer the
> exact same problems as the listview save one - you will not forget to
> override getlistitemmodel() because it is part of the idataprovider
> interface. but even with a dataview you would have to set an item
> reuse strategy which is equivalent to calling setreuseitems(true) on
> the listview. in dataview, same as the listview, the items would be
> recreated, etc - thats just the nature of repeaters in wicket. 
> 
> -Igor
> 
> 
> On 8/10/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>         > I'm gradually getting to a conclusion that ListView sucks,
>         and should be
>         > replaced with something more robust.
>         
>         It does suck that about 25% of the problems people have with
>         Wicket
>         seems to come from the ListView. 
>         
>         What do you think about the repeater packages? I'm still using
>         ListViews myself mostly; they do the job for me. But Igor
>         created them
>         out of frustration with ListViews (and that was a long time
>         ago). If
>         more people think repeaters are a better solution than
>         ListViews, 
>         maybe we should consider putting ListView more in the
>         background (e.g.
>         red rid of them in examples and more specifically Wicket In
>         Action),
>         and getting some repeaters over to the core project for Wicket
>         2.0.
>         
>         If there was ever a time to 'fix' this, it's now.
>         
>         Eelco
>         
>         
> -------------------------------------------------------------------------
>         Using Tomcat but need to do more? Need to support web
>         services, security? 
>         Get stuff done quickly with pre-integrated technology to make
>         your job easier
>         Download IBM WebSphere Application Server v.1.0.1 based on
>         Apache Geronimo
>         
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>         _______________________________________________
>         Wicket-user mailing list
>         Wicket-user@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________ Wicket-user mailing list 
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to