• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DistinctRows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DistinctRows


  • Subject: Re: DistinctRows
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Tue, 04 Mar 2003 04:23:14 +0000

good thinking, it's one solution at least.
Thanks Arturo.
It's 4.20 am here in the UK, so I'm gonna call it a night since I can not longer look at the screen for tiredness and sleep deprivation. We'll continue tomorrow, maybe someone else will have another solution suggested by then.


night all
Jonathan






From: Arturo Pirez <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden
Subject: Re: DistinctRows
Date: Mon, 3 Mar 2003 23:14:27 -0500


On Monday, March 3, 2003, at 10:49 PM, Jonathan Fleming wrote:








From: Arturo Pirez <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden
Subject: Re: DistinctRows
Date: Mon, 3 Mar 2003 22:26:01 -0500


On Monday, March 3, 2003, at 10:17 PM, Jonathan Fleming wrote:
Well the search at the moment is finding what I want, all three from any one of the Home's (navPageNames) in the drop down list. I just need to get rid of the unwanted Home's from the popup.
Yeah, but basically everything else works fine.


Jonathan

Ps. Arturo, can you clarify this a bit more please:
redesign so that the user
can easily distinguish amongst pages?

For example: Say you have three pages named "Home" but the path to them are distinct such that
Home1's path is http://ROOT/~u1/HOME
Home2's path is http://ROOT/~u2/HOME
Home3's path is http://ROOT/~admin/HOME


then maybe you can display distinct paths?

A different tack at explaining: I'm using your system. I see a popdown list and it has 3 "Homes"
in it. How am I to know which one I should look at/edit/etc? Well then I should eliminate the dups.


OK. So, now we eliminate the duplicates from the popdown list. So, I pick the one "Home" and then
I must get a page that shows me the three potential "Homes" I could work with? Or am I only supposed
to be working with one? If that's the case then how come I could see 3 before?


In other words, there's got to be something that distinguishes these duplicate homes.

Yes, for the most part the status attribute, this attribute has to be unique I'll validate it (not done yet) so that you can't have two navPageNames marked 01 for example... one would have to be 01 the other 02, their contents in the navPageContent attribute will then list on the web page in that order if their visibility is set to "on". if the visibility is set to off the item won't show but the objects will still obviously list in a sorted order. So if there was a "Home" with a status of 03 (visibility on), but the Home page with status 02's visibility was off, "Home" status 03 would show it's content next in the page.



How about having the popup list show 01 - Home 03 - Home ...

instead of just Home?

Your displayString binding could be something like

	String displayStringForNavPage() {
		return Integer.toString(navPage.status()) + " - " + navPage.name();
	}

I think you would also need something like
NSArray navPagesArray = EOUtilities.objectsMatchingKeyAndValue(ec, "NavPage", "visibility", "on");


or somesuch.

-------
WebObjects in Philadelphia.  You want a cheesesteak with that?



_________________________________________________________________
Express yourself with cool emoticons http://messenger.msn.co.uk
_______________________________________________
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.

  • Prev by Date: Re: DistinctRows
  • Next by Date: Re: DistinctRows
  • Previous by thread: Re: DistinctRows
  • Next by thread: Re: DistinctRows
  • Index(es):
    • Date
    • Thread