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

WORepetition & synchronization


  • Subject: WORepetition & synchronization
  • From: Anthony Arthur <email@hidden>
  • Date: Sun, 29 Apr 2007 11:49:34 -0400

Apologies if this has already been covered, but I can't find it. I am trying to get other's insight on a problem I've never seen before, and I've seen a lot.

I have an array of eos that represent days of the week. These days are displayed vertically, with days bound to the repetition's list and dayItem bound to item and a counter on the index binding. The days could span 1, 2, 3, or 4 weeks and each day eo has a week attribute that holds 1, 2, 3, or 4. The repetition builds rows in a table showing weekday name, week #, and an edit button, among other things. The edit button returns a separate page where certain attributes of the selected day can be changed.

Ok, here is what happens. Say I am displaying 2 weeks, or 14 days. I click the edit button of a day in week 2, yet the eo in my edit page is the same day in week 1. The edit button's action binding calls a method with 3-4 lines of code that just creates the next page, passes it the value bound to my item binding of the repetition, and return. The table displays properly, where the week # displays as I would expect, meaning that week 2 is displayed with the row where I click the edit button, but somehow when I click it, the variable bound to item is pointing to the same day in week 1--WTF? Also, I checked my index binding, and it has the correct value. So anyone got a clue. I have burned an entire weekend on this, and would really like to solve it and move on.

Thanks,

--Brian
_______________________________________________
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


  • Follow-Ups:
    • Re: WORepetition & synchronization
      • From: "Daniele Corti" <email@hidden>
  • Prev by Date: Re: Can someone read a thread dump...
  • Next by Date: Re: WORepetition & synchronization
  • Previous by thread: Re: Can someone read a thread dump...
  • Next by thread: Re: WORepetition & synchronization
  • Index(es):
    • Date
    • Thread