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: Santiago <email@hidden>
- Date: Fri, 26 Sep 2003 12:12:09 +0200
Hi Jonathan
You've got a couple of responses yet, and as long as I know, both of
them will work. Just for your information, I'm working right now in a
little project where the user can do several complex searches. Well, I'm
getting the objects from a fetch specification and using the method
setObjectArray() in the WODisplayGroup class to let the display group
manages the batches. The only thing with this is that I'm setting the
setPageRefreshOnBacktrackEnabled() to true in the application
initialization (working with WO 5.1).
I think that the problems with the WODisplayGroup that some people have
are related with the fact that it's considered a 'heavy object', so some
people try to avoid to use it. In my case, this isn't important so I use
it; you would have to consider your particular situation
On Friday, September 26, 2003, at 03:14 AM, webobjects-dev-
email@hidden 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?
Jonathan :^)
_______________________________________________
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.