Re: How to skip items in a WORepetition ?
Re: How to skip items in a WORepetition ?
- Subject: Re: How to skip items in a WORepetition ?
- From: Paul Lynch <email@hidden>
- Date: Thu, 29 Jun 2006 22:28:37 +0100
On 29 Jun 2006, at 22:13, Gavin Eadie wrote:
I want to display the contents of an NSArray and WORepetition is
the perfect dynamic element to do that. However, I want to
complicate the world and be able to suppress some of the entries
based on some computation performed on each Array element.
It seems I can do this at least two ways:
(1) ... filter the original NSArray through the computation to make
a new NSArray and use that.
(2) ... play games with the processing of the WORepetition so it
skips items.
Or (2), use a WOConditional within the repetition to do the filtering
for you. This is sort of 'playing games', but unfortunately it's
easy rather than hard.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden