binding array to popup list
binding array to popup list
- Subject: binding array to popup list
- From: Theodore Petrosky <email@hidden>
- Date: Wed, 20 May 2009 06:46:08 -0700 (PDT)
ok I think I am on the right track with my binding problem.
it seems that if I change the list binding of a popup while the popup is visible, the popup loses its binding to the selection.
I was using the Dependent Popup example in the AjaxExample and I see that in the example, you create an array at the object constructor that has all the 'States' and 'Counties'. I was trying to create the 'Counties' when the State popup changed in it action method.
It seems that the counties popup does not like having the list array changed while it is displayed. Or I am missing how to tell it that things are different.
I viewed the 'webobject puzzler' podcast and it seemed to allude to using an accessor for the list array binding may help.
Currently, I am re-coding to make my code look and act more like the AjaxExample.
If there is another way..... please tell me.
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