Though you can hide paging in the List implementation too, like PageableList of wicket-contrib-data does. But with Dataprovider it's clearer on what you are doing though.
Eelco On 4/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > well, i guess the important distinction is that even with a pageable > listview you must still have the entire list available, where as with a > dataprovider it will only load the page that is currently displayed. > > -Igor > > > > On 4/12/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Well, there is pageable list view, which can be used with the same > effect. Basically, the repeater packages (which dataprovider is part > of) are higher-level and more focused on common need, whereas > ListViews are the generic list support components. If you have to do > database driven stuff, and things like sortable/ pageable/ etc, > repeater packages have a lot to offer. > > Eelco > > > On 4/12/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote: > > dataprovider is made for working with large data sets where it is too > > expensive to load the enire dataset into memory at once. dataprovider > allows > > you to only retrieve the window of the dataset you are going to display. > > > > if you have a list of 40 items and it is not expensive to load it you > might > > as well use a listview. > > > > -Igor > > > > > > > > On 4/12/06, Jeffrey H. Lin < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hello, as a Wicket novice I'm trying to figure out the differences > between > > DataProvider and ListView. What I need to do is simply read a table of ~40 > > rows, display them on the screen with pagination and sorting, and provide > an > > easy way for the user to select multiple rows (probably using checkboxes) > > and perform a delete of those rows. > > > > > > Is there any reason why I should use ListView over DataProvider or vice > > versa? > > > > > > Thanks! > > > Jeff > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
