• 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
help with dependent popups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with dependent popups


  • Subject: help with dependent popups
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 14 May 2009 08:41:21 -0700 (PDT)


I think I have a problem with updating my bound array behind the back of my object...

I edit my mainObject by bringing up a modalContainer with the current record. On this modalContainer there are two dependent popups. If I just change the state of popup2 to a new value and fire the saveChanges(), it updates the model. However, if I alter the state of popup1, a method is fired that refreshes the array for popoup2 and sets the attribute of the mainObject entity to the zeroth element of this new array. so far so good. my problem is that if I now change popup2 to element 2 and fire the saveChanges, the attribute (selection = current.subCategory;) in the mainObject entity is null. if I change popup2 to any value, my mainObject entity will not see the change.

I have the feeling that it has something to do with the fact that I am altering the list binding behind the back of webobjects.

Is this enough information to help me. I am at a loss.....

Ted



 _______________________________________________
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

  • Prev by Date: Apache and WebObjects adaptor
  • Next by Date: Re: Apache and WebObjects adaptor
  • Previous by thread: Re: Apache and WebObjects adaptor
  • Next by thread: Oracle driver...
  • Index(es):
    • Date
    • Thread