From 7560e66cf853102af86bf96fdef641e94b8f19e2 Mon Sep 17 00:00:00 2001 From: tworrall Date: Thu, 10 May 2012 19:02:56 +0000 Subject: [PATCH] modified to display an Other option in the select list --- .../edit/n3editing/VTwo/fields/ChildVClassesWithParent.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/ChildVClassesWithParent.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/ChildVClassesWithParent.java index b4ef88220..ffb07ba4f 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/ChildVClassesWithParent.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/fields/ChildVClassesWithParent.java @@ -46,7 +46,9 @@ public class ChildVClassesWithParent implements FieldOptions { // first test to see whether there's a default "leave blank" value specified with the literal options if ( ! StringUtils.isEmpty( defaultOptionLabel ) ){ optionsMap.put(LEFT_BLANK, defaultOptionLabel); - } + } + + optionsMap.put(classUri, "Other"); VClassDao vclassDao = wDaoFact.getVClassDao(); List subClassList = vclassDao.getAllSubClassURIs(classUri);