Hi,
I use a DynamicForm with many SelectItems on it. Each has the same OptionDataSource but differ with PickListCriteria.
My datasource contains unique values if you call fetch with the PickListCriteria. Otherwise not.
I try to preset a selected value by selectItem.setValue(value);
I receive a following exception and the result is as warned in the exception.
Is there any way how to turn on PickListCriteria for deriving valueMap?
I use the official SmartGWT 2.5 release.
best regards,
Martin Zdarsky
I use a DynamicForm with many SelectItems on it. Each has the same OptionDataSource but differ with PickListCriteria.
My datasource contains unique values if you call fetch with the PickListCriteria. Otherwise not.
I try to preset a selected value by selectItem.setValue(value);
I receive a following exception and the result is as warned in the exception.
Is there any way how to turn on PickListCriteria for deriving valueMap?
Code:
[ERROR] [smartrise] - 15:26:47.298:XRP6:WARN:fetchMissingValues:isc_SelectItem_17:Deriving valueMap for 'value' from dataSource based on displayField 'displayText'. This dataSource contains more than one record with value set to ODP3 with differing displayText values. Derived valueMap is therefore unpredictable.
best regards,
Martin Zdarsky
Comment