• 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: WORepetition Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WORepetition Woes


  • Subject: Re: WORepetition Woes
  • From: Jonathan Rochkind <email@hidden>
  • Date: Thu, 8 Jan 2004 10:55:00 -0600

You need to eliminate the duplicate values BEFORE you pass the NSArray as a list to the WORepetition. Depending on the nature of the 'duplication', one simple way to do this is:

NSArray originalListWithDuplicates; //assume exists
NSSet uniqueingSet = new NSSet( originalListWithDuplicates );
NSArray newListWithoutDuplicates = uniqueingSet.allObjects();

At 11:27 AM -0500 1/8/04, Janice M. Cheung wrote:
   Greetings!

   Happy New Year!

I have a question concerning WORepetitions.. is it possible to suppress duplicate
values in a WORepetition? There is a very rigid template that our queries must
adhere to, and the return of duplicate values are wreaking havoc on the alignment
of our on-line phonebook.
(The placement of a WORepetition within a WORepetition is also having similar
adverse effects on table alignment). If anyone has any suggestions or advice, I would be eternally grateful!


Best wishes for the new year!
Janice :-)
_______________________________________________
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.

  • Follow-Ups:
    • Re: WORepetition Woes
      • From: Chuck Hill <email@hidden>
References: 
 >Re: MacOSX 10.3 Server deployment (From: Chuck Hill <email@hidden>)
 >Re: MacOSX 10.3 Server deployment (From: Pierre Frisch <email@hidden>)
 >WORepetition Woes (From: "Janice M. Cheung" <email@hidden>)

  • Prev by Date: Re: WORepetition Woes
  • Next by Date: Re: How to avoid instantiation of new WOComponents when reloading?
  • Previous by thread: Re: WORepetition Woes
  • Next by thread: Re: WORepetition Woes
  • Index(es):
    • Date
    • Thread