updating to make sure sorted list actually gets assigned to the variable sent back to the template

This commit is contained in:
hjkhjk54 2011-12-08 21:49:04 +00:00
parent c7b6e7a75e
commit 0cf492d729

View file

@ -108,7 +108,7 @@ public class EditConfigurationTemplateModel extends BaseTemplateModel {
if(field.getOptionsType()!=FieldVTwo.OptionsType.HARDCODED_LITERALS) {
optionsMap = SelectListGeneratorVTwo.getSortedMap(optionsMap);
}
pageData.put(fieldName, SelectListGeneratorVTwo.getOptions(editConfig, fieldName, wdf));
pageData.put(fieldName, optionsMap);
}
}