This is correct.... If I set 'current' to any other value by selecting a different row, then the update fails.
--- On Mon, 6/22/09, Ricardo J. Parada <[email protected]> wrote: > From: Ricardo J. Parada <[email protected]> > Subject: Re: bindings and WOPopUp lists and selections > To: "Theodore Petrosky" <[email protected]> > Cc: [email protected] > Date: Monday, June 22, 2009, 9:23 AM > > On Jun 21, 2009, at 8:10 PM, Theodore Petrosky > wrote: > however > if I select any other row. it fails. I can change the > category and the subcat popup has the wrong list. so I am > looking at a change to 'banking' (category) and I > see the subcat list for 'aviation'. > > this error only happens on the NON first element of the > displayGroup. Is it possible that I have the displayGroup > set up wrong? > > When you say you select any other row, do you mean > setting the current to another > row? That should work! If it's not working then I would try to find out why it's not. > For example, if your category pop-up > hag > selection = > current.contactCategory; > and then your sub-category pop-up > had: > list = current.contactCategory.subCategories; > selection = current.subCategory; > then I'm pretty sure it would work as that > is a typical setup I've used in my apps. In other > words, everything is tied to current so that when you change > it then the selection in the category pop-up updates and > then the list of sub-categories and selection there also > update in the user interface. > but were your popups on a ModalContainer? maybe this is the problem. Did you get a chance to look at the source I sent your way? I really don't know what else to do to resolve this problem. Is there a known issue with AjaxModalContainers? Thanks for your help. 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]
