ninja
4 Sep 2008, 5:46 AM
I am working on a thin databinding layer on the top of the existing formpanel implementation. I am afraid I don't know exactly how the combobox field works. Combobox field is a generic type, parametrized with the same type as the list elements in the store of the combobox - that provides the underlying list - have. But getValue is declared as it returns an instance with the same type. I think getValue should return the value of the value field the current selection so it return type should not be the same as the combobox itself is parametrized with.
So I do not know how I can bind the value of the combobox to a field of another object.
Any help woul be appreciated.
So I do not know how I can bind the value of the combobox to a field of another object.
Any help woul be appreciated.