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: "Jonathan Fleming" <email@hidden>
- Date: Sat, 27 Sep 2003 19:28:55 +0100
From: Santiago <email@hidden>
To: email@hidden
Subject: Re: Using NSArray for Lists and WODisplayGroup for Batches
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
Yes, Santiago I did get a couple of very good responses which are on the
list. And although WODisplayGroups are "heavy" as you put it I do qualify
when to use them. In some very simple cases I use them like when I want a
very basic search facility on a page. In that case I just run the wizards
and customize the created page. Done quick and easy, but I have found out in
the past that WODisplayGroups are limited with what you can do with them.
In this case I definitely needed more than that but I couldn't figure out
how to put the two together. I'm sorted now though
Thanks guys.
Jonathan :^)
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.
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
_______________________________________________
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.