modified to display an Other option in the select list
This commit is contained in:
parent
39590ec936
commit
7560e66cf8
1 changed files with 3 additions and 1 deletions
|
@ -48,6 +48,8 @@ public class ChildVClassesWithParent implements FieldOptions {
|
||||||
optionsMap.put(LEFT_BLANK, defaultOptionLabel);
|
optionsMap.put(LEFT_BLANK, defaultOptionLabel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
optionsMap.put(classUri, "Other");
|
||||||
|
|
||||||
VClassDao vclassDao = wDaoFact.getVClassDao();
|
VClassDao vclassDao = wDaoFact.getVClassDao();
|
||||||
List<String> subClassList = vclassDao.getAllSubClassURIs(classUri);
|
List<String> subClassList = vclassDao.getAllSubClassURIs(classUri);
|
||||||
if (subClassList != null && subClassList.size() > 0) {
|
if (subClassList != null && subClassList.size() > 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue