Re: index of WODisplayGroup.displayedObjects() array
Re: index of WODisplayGroup.displayedObjects() array
- Subject: Re: index of WODisplayGroup.displayedObjects() array
- From: Ray Ackland <email@hidden>
- Date: Mon, 10 Nov 2003 13:16:05 +1300
Jonathan,
Unless I am mistaken, you would just add the index from the repetition
to the value returned from the method indexOfFirstDisplayedObject ()
less one, to give you your required index. You will have to change
things into int values though to do the adding.
Ray.
On Monday, Nov 10, 2003, at 13:03 Pacific/Auckland, Jonathan Fleming
wrote:
From: Ray Ackland <email@hidden>
To: email@hidden
CC: email@hidden
Subject: Re: index of WODisplayGroup.displayedObjects() array
Date: Mon, 10 Nov 2003 10:19:23 +1300
Jonathan,
You could use a combination of the WORepitition index and
indexOfFirstDisplayedObject () to find the number you want.
That's sounds puzzeling, how pray tell do you do that? Example please.
Jonathan :^)
ray.
On Monday, Nov 10, 2003, at 09:39 Pacific/Auckland,
email@hidden wrote:
How can I get the index that an object is at in a
WODisplayGroup.displayedObjects() array?
Using the index of a WORepitition or WOTable in my case does not
seem to
work it gives me an out of bounds error.
_______________________________________________
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.