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
|
@ -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
|
// first test to see whether there's a default "leave blank" value specified with the literal options
|
||||||
if ( ! StringUtils.isEmpty( defaultOptionLabel ) ){
|
if ( ! StringUtils.isEmpty( defaultOptionLabel ) ){
|
||||||
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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue