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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to