Re: DistinctRows
Re: DistinctRows
- Subject: Re: DistinctRows
- From: Art Isbell <email@hidden>
- Date: Mon, 3 Mar 2003 15:07:21 -1000
On Monday, March 3, 2003, at 02:54 PM, Jonathan Fleming wrote:
But if that's the case, you wouldn't normally want to eliminate some
of the objects from the popup button list. Something's missing from
this picture. Jonathan?
I don't know what... give me an idea
What is this popup button supposed to be selecting? Its list is
apparently an array of TBNavPages fetched from the DB with no qualifier
- i.e., all TBNavPages. Yet more than one TBNavPage can have the same
navPageName value. This is difficult to understand. But assuming
there's a good reason for this, the popup button selection will be a
TBNavPage yet you want to eliminate from the popup button TBNavPages
with the same navPageName. By so doing, you're eliminating certain
TBNavPages from being potentially selected. How can that be the right
thing to do?
If the popup button is supposed to select a navPageName, not a
TBNavPage, then make its list an array of unique navPageNames (NSSet
can do this for you).
Art
http://homepage.mac.com/aisbell/
_______________________________________________
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.