Like I did suggest. Use a decorator that returns a list or a custom IModel (probably want that detachable) that returns a list. Or if you really don't want this for some reason, you could create an custom ListView-like component. But that seems like overkill.

Eelco

David Liebeherr wrote:

Hmm then my original question remains:
How can i implement a custom model that uses gets data rather from Person.get(index) then from Person.getList(). I need to iterate for 0...Person.getSize() times and call Person.get(index) evry time...

Thanks,
Dave

Juergen Donnerstag wrote:

Is there any exmaple for using the Loop Component as Model in a ListView
avaiable?



I guess you misunderstood something. Loop is similar but simpler than
ListView. Loop, like ListView is a component.

Juergen

On 8/1/05, David Liebeherr <[EMAIL PROTECTED]> wrote:

Hi!

Is there any exmaple for using the Loop Component as Model in a ListView
avaiable?

Thankx,
Dave


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
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_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to