public List getOptionList() {
if (optionList == null) {
optionList = new ArrayList();
DataProvider dp = getDataProvider();
if (dp != null) {
Iterable iterableData = dp.getData();
// Create and populate the optionList from the Iterable data
if (iterableData instanceof Collection) {
// Popuplate optionList from options
addAll((Collection) iterableData);