Description
The method setInitialValue() is called from a number of places, particularly from the various add..() methods.
This makes sure that after populating, we have a default selected value.
However, when populating through a DataProvider, and when the DataProvider returns an instance of List, the List is set as the option list through setOptionList(List), which does NOT call the setInitialValue() method.
This solves the issue :
public void setOptionList(List options)
{ optionList = options; setInitialValue(); }