updating field options constructor
This commit is contained in:
parent
27a814c0a6
commit
c080c0484c
1 changed files with 5 additions and 2 deletions
|
@ -122,8 +122,11 @@ public class AddConceptThroughObjectPropertyGenerator extends DefaultObjectPrope
|
|||
}
|
||||
String[] typesArray = types.toArray(new String[types.size()]);
|
||||
field.setOptions( new IndividualsViaSolrQueryOptions(
|
||||
vreq.getSession().getServletContext(),
|
||||
typesArray));
|
||||
vreq.getSession().getServletContext(),
|
||||
getSubjectUri(),
|
||||
predicateUri,
|
||||
getObjectUri(),
|
||||
typesArray));
|
||||
}else{
|
||||
field.setOptions(null);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue