enable type dropdown to have subclasses for new individual page,prevent template errors if no addurl for property, show edit link if only one label and no locales

This commit is contained in:
hudajkhan 2013-11-19 13:24:50 -05:00
parent 35251e89f4
commit d5fa8b0613
2 changed files with 6 additions and 5 deletions

View file

@ -548,7 +548,7 @@ public class EditConfigurationTemplateModel extends BaseTemplateModel {
}
for(VClass rangeVClass : rangeVClasses) {
vclasses.add(rangeVClass);
List<String> subURIs = wdf.getVClassDao().getSubClassURIs(rangeVClass.getURI());
List<String> subURIs = wdf.getVClassDao().getAllSubClassURIs(rangeVClass.getURI());
for (String subClassURI : subURIs) {
VClass subClass = wdf.getVClassDao().getVClassByURI(subClassURI);
if (subClass != null) {