hi, friends,
I'm back deeply into VW after long time, and I'm start thinking to be stupid. I have to do a dataset where one column is a combobox, but the combobox values depend on the row selected.
Now, it seems that the method for filling values on the combobox is only called the first time the user try to open a combo on whatever row, and the values are then the same for every row, because they are cached. (UIBuilder>>findBindingFor: aKey selector: aSelector cache: aBoolean get from cache the second time, because aBoolean is true, it is false only in editing mode).
It seems to me to remember that I had already this problem, long time ago, but I 'am unable to find a solution right now, without changing (or override) the Cincom code (that I would like not to do).
Am I missing something?. This seems a simple request for a dataset. What am I overlooking? I'm on 7.6, but I'll move to 7.8 in this week, so if on 7.8 there is a simple solution, I'll wait after the porting.
Thank for any help. Giorgio _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Giorgio If you are talking about the ComboBox list then instead of having your aspect return a list make it return an object that responds to #value, which returns a list. Terry From: [hidden email] [mailto:[hidden email]] On Behalf Of giorgio ferraris hi, friends, I'm back deeply into VW after long time, and I'm start thinking to be stupid. I have to do a dataset where one column is a combobox, but the combobox values depend on the row selected. Now, it seems that the method for filling values on the combobox is only called the first time the user try to open a combo on whatever row, and the values are then the same for every row, because they are cached. (UIBuilder>>findBindingFor: aKey selector: aSelector cache: aBoolean get from cache the second time, because aBoolean is true, it is false only in editing mode). It seems to me to remember that I had already this problem, long time ago, but I 'am unable to find a solution right now, without changing (or override) the Cincom code (that I would like not to do). Am I missing something?. This seems a simple request for a dataset. What am I overlooking? I'm on 7.6, but I'll move to 7.8 in this week, so if on 7.8 there is a simple solution, I'll wait after the porting. Thank for any help. Giorgio _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Terry,
thanks a lot, I was completely stupid forgetting the value model approach. My Good, how far can Java and C# destroy a human brain...:))) Giorgio
On Mon, Oct 31, 2011 at 10:44 PM, Terry Raymond <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |