panel.add( datePicker );
} else {
Map<String, String> currentValueMap = new HashMap<String, String>();
// TODO fill currentValueMap with values of other VerifyFields (if any)
DropDownData dropDownData = sce.getEnums(factType, field.getFieldName(), currentValueMap);
if ( dropDownData != null ) {
//GUVNOR-1324: Java enums are of type TYPE_COMPARABLE whereas Guvnor enums are not.
//The distinction here controls whether the EXPECTED value is handled as a true
//Java enum or a literal with a selection list (i.e. Guvnor enum)
String dataType = sce.getFieldType( key );