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()]);
|
String[] typesArray = types.toArray(new String[types.size()]);
|
||||||
field.setOptions( new IndividualsViaSolrQueryOptions(
|
field.setOptions( new IndividualsViaSolrQueryOptions(
|
||||||
vreq.getSession().getServletContext(),
|
vreq.getSession().getServletContext(),
|
||||||
typesArray));
|
getSubjectUri(),
|
||||||
|
predicateUri,
|
||||||
|
getObjectUri(),
|
||||||
|
typesArray));
|
||||||
}else{
|
}else{
|
||||||
field.setOptions(null);
|
field.setOptions(null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue