NIHVIVO-1385 Adjust to the use of generics in FormObject

This commit is contained in:
jeb228 2011-02-18 20:04:34 +00:00
parent e8a1dd31b4
commit d459840ef6

View file

@ -144,7 +144,7 @@ public class VclassRetryController extends BaseEditController {
log.error(this.getClass().getName()+" could not find the getVClassByURI method"); log.error(this.getClass().getName()+" could not find the getVClassByURI method");
} }
HashMap<String,List> optionMap = new HashMap<String,List>(); HashMap<String, List<Option>> optionMap = new HashMap<String,List<Option>>();
try { try {
VClassGroupDao vcgDao = request.getFullWebappDaoFactory().getVClassGroupDao(); VClassGroupDao vcgDao = request.getFullWebappDaoFactory().getVClassGroupDao();
List classGroupOptionList = FormUtils.makeOptionListFromBeans(vcgDao.getPublicGroupsWithVClasses(),"URI","PublicName",vclassForEditing.getGroupURI(),null,(vclassForEditing.getGroupURI()!=null && !(vclassForEditing.getGroupURI().equals("")))); List classGroupOptionList = FormUtils.makeOptionListFromBeans(vcgDao.getPublicGroupsWithVClasses(),"URI","PublicName",vclassForEditing.getGroupURI(),null,(vclassForEditing.getGroupURI()!=null && !(vclassForEditing.getGroupURI().equals(""))));