if (submittedValueHolder != null) {
source = submittedValueHolder.map;
}
if (source != null) {
ListShuttleDataModel dataModel = new ListShuttleDataModel();
dataModel.setWrappedData(source);
return dataModel;
}
DataModel sourceDataModel = createDataModel(getSourceValue());
DataModel targetDataModel = createDataModel(getTargetValue());
ListShuttleDataModel dataModel = new ListShuttleDataModel();
dataModel.setWrappedData(new DataModel[]{sourceDataModel, targetDataModel});
return dataModel;
}