• 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: index of WODisplayGroup.displayedObjects() array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: index of WODisplayGroup.displayedObjects() array (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: index of WODisplayGroup.displayedObjects() array
  • Next by Date: Re: index of WODisplayGroup.displayedObjects() array
  • Previous by thread: Re: index of WODisplayGroup.displayedObjects() array
  • Next by thread: Re: index of WODisplayGroup.displayedObjects() array
  • Index(es):
    • Date
    • Thread