Re: Using NSArray for Lists and WODisplayGroup for Batches
Re: Using NSArray for Lists and WODisplayGroup for Batches
- Subject: Re: Using NSArray for Lists and WODisplayGroup for Batches
- From: Giorgio Valoti <email@hidden>
- Date: Thu, 25 Sep 2003 16:38:41 +0200
On Giovedl, set 25, 2003, at 16:07 Europe/Rome, Jonathan Fleming wrote:
Sorry Guys, I have little time left to look this one up on my own, so
I'm hoping I might get a quick reponse from you lot whilst I do.
I've seen posts on a number of occasions where the developer says that
they use an NSArray to get their list and a WODisplaygroup to do the
batching of pages. OK... I use NSArrays to get my list but I do so
lazily directly from the NSArray toMany relationship of my EOCustom
classes, however, my lists are geting quite long now and I'd like to
put them into batches and the easiest way to do that seeems to be by
using a WODisplayGroup, but most developers seem avoid these, why? The
displayedObjects of a WODisplayGroup are a NSArray so what's the
problem?
Anyway, what I want to know is how can I get the prefered combination
to work ie. NsArray List and WODisplayGroup batches?
You could use an EOArrayDataSource
<http://developer.apple.com/documentation/WebObjects/Reference/API/com/
webobjects/eocontrol/EOArrayDataSource.html>
HTH
--
Giorgio Valoti
-------------
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.