Need help with this correct usage of ComboBoxItem with a custom RPC based DataSource.
The executeFetch() method of extendedGwtRpcDataSource retrieves
the data from the server, creates ListGridRecord[] and sets the
data using response.setData().
When we click on the ComboBoxItem, it retrieves the data and
populates the values correctly. However, when we select a value
from the dropdown, that value is not selected (the selected value
is always the last entry of the valueMap).
We have 5 such ComboBoxItems on this screen and interesting thing
is that we see this behavior only for 2 of them.
We have tried setAddUnknownValues(false); and it doesn't seem to help.
The logic was initially developed in smartgwt 2.3(? LGPL) version and it works fine with that smartgwt.jar file. When we use smartgwtpower.jar we see this behavior.
Using v10.0p_2015-05-03/PowerEdition Deployment (built 2015-05-03)
Code:
ComboBoxItem itemName = new WNGComboBoxItem(); itemName.setOptionDataSource(extendedGwtRpcDataSource);
the data from the server, creates ListGridRecord[] and sets the
data using response.setData().
When we click on the ComboBoxItem, it retrieves the data and
populates the values correctly. However, when we select a value
from the dropdown, that value is not selected (the selected value
is always the last entry of the valueMap).
We have 5 such ComboBoxItems on this screen and interesting thing
is that we see this behavior only for 2 of them.
We have tried setAddUnknownValues(false); and it doesn't seem to help.
The logic was initially developed in smartgwt 2.3(? LGPL) version and it works fine with that smartgwt.jar file. When we use smartgwtpower.jar we see this behavior.
Using v10.0p_2015-05-03/PowerEdition Deployment (built 2015-05-03)
Comment