• 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: George Domurot <email@hidden>
  • Date: Sun, 9 Nov 2003 19:39:42 -0500

Hmmm... I use this code all over the place under the same situation that you've mentioned. Check the value of tbCategory just prior to ...indexOfObject(tbCategory). Also, double check that your WORepitition is bound to displayedObjects(). I'm pretty sure this is a binding issue. If you are binding the repetition to displayedObjects and are asking for the index of object bound to item, you should be fine.

-G

On Nov 9, 2003, at 7:13 PM, Jonathan Fleming wrote:

From: George Domurot <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden, email@hidden
Subject: Re: index of WODisplayGroup.displayedObjects() array
Date: Sun, 9 Nov 2003 16:46:23 -0500

Jonathan, you may want to try something like:

displayGroup.displayedObjects().indexOfObject(anObject)

Tried that and it hasn't worked or I have configured it wrongly. The object i used was the item bound to the item binding of the WOTable / WORepitition such as: tbCategoryDisplayGroup.displayedObjects().indexOfObject(tbCategory), this give me an output of -1 so what am I doning wrong here?


Regards
Jonathan :^)

On Nov 9, 2003, at 2:25 PM, Jonathan Fleming 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.
>
> TIA
> Jonathan :^)
>
> _________________________________________________________________
> Stay in touch with absent friends - get MSN Messenger
> http://www.msn.co.uk/messenger
> _______________________________________________
> 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.

_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile
_______________________________________________
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.

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