Re: Display Groups
Re: Display Groups
- Subject: Re: Display Groups
- From: Sam Barnum <email@hidden>
- Date: Thu, 22 Jul 2004 19:06:58 -0700
I like 'em too. Once you figure out how to set the objects in the
displayGroup (by setting the datasource, or just calling
setObjectArray) you can just treat it like a much smarter NSArray, with
batching and a selectedObject for focus.
They definitely do a lot for you, but require you to work within the
bounds of how they want to go. For code-free searches and batching,
it's really nice. Also if you're on a detail page, and are showing a
list of related records, and want to vary the sort order. Or changing
the sort ordering in any list page, for that matter. Lots of tedium
can be avoided.
One big gripe: insertObject() does NOT return the object being
inserted! It returns null. Get the inserted object by callinng
selectedObject().
On Jul 22, 2004, at 5:46 PM, Arturo Pirez wrote:
On Jul 22, 2004, at 8:25 PM, Lotsa Cabo wrote:
Are display groups bad?
I ask because I just recently started using them. Until now, I have
been coding everything by hand. However, after going through a
tutorial that I blew off last year, I really enjoy using them. My
only
fear is that the are either too bloated or are limited in
functionality
somehow.
(Personally, I kinda like them. Almost all web pages can be viewed as
some sort of display group)
In observing the list, people seem to dislike them for one of two
reasons:
1. They can suck "lots" of EOs into memory. This may or may not be a
bad thing.
2. Sometimes (mostly?) they are very difficult to get to behave the
way one wants.
Once you hit #2 you may dislike them, too. :-)
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.
_______________________________________________
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.