• 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... dependent popups ajax and modalContainer problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help... dependent popups ajax and modalContainer problem


  • Subject: help... dependent popups ajax and modalContainer problem
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 19 May 2009 06:40:27 -0700 (PDT)

I still haven't been able to understand my problem with these dependent popups.

I have a displayGroup in a table. when you select a row to edit, a modalContainer comes up with the various fields. I have a Category and a subCategory set of popups. (subCategory dependent on Category) If you change the Category, I fire a method that goes to the backend and gets the appropriate subCategories. I then manually (in the getSubCatsForCategory method) set the subcategory in the displayGroup selectedObject to the zeroth element (each category has a first element the says "choose one").

If I saveChanges now I am golden. However, if I now change the subCategory popup, the subCategory attribute is not updated (it is saved with the zeroth element of the array). It is as if the popup has lost its 'connection' to the attribute.

What can I show you?

BTW, if I start the process with the first entity in the displayGroup, everything works as advertised. I only have the problem with all the other entities.

As I have set this up using migrations and postgresql, I could export the whole thing, zip it up and send it to anyone that could help (as embarrassing as it is for me to let someone see my attempts at coding).



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: What im doing wrong with AjaxUpdateContainer and a AjaxSelectionList?
  • Next by Date: Re: What im doing wrong with AjaxUpdateContainer and a AjaxSelectionList?
  • Previous by thread: Re: What im doing wrong with AjaxUpdateContainer and a AjaxSelectionList?
  • Next by thread: Re: help... dependent popups ajax and modalContainer problem
  • Index(es):
    • Date
    • Thread