removed call to IndividualsViaVClassOptions for autocomplete fields.
This commit is contained in:
parent
df86089cdd
commit
912a063a4b
3 changed files with 11 additions and 17 deletions
|
@ -101,9 +101,8 @@ public class AddPresenterRoleToPersonGenerator extends VivoBaseGenerator impleme
|
|||
conf.addSparqlForExistingUris("endField-precision",
|
||||
existingEndPrecisionQuery);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
setName("existingPresentation").
|
||||
setOptions(new IndividualsViaVClassOptions(presentationClass))
|
||||
conf.addField( new FieldVTwo(). // an autocomplete field
|
||||
setName("existingPresentation")
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
|
@ -131,9 +130,8 @@ public class AddPresenterRoleToPersonGenerator extends VivoBaseGenerator impleme
|
|||
setValidators( list("nonempty") )
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
setName("existingConference").
|
||||
setOptions(new IndividualsViaVClassOptions(conferenceClass))
|
||||
conf.addField( new FieldVTwo(). // an autocomplete field
|
||||
setName("existingConference")
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
|
|
|
@ -126,10 +126,8 @@ public class PersonHasAdvisingRelationshipGenerator extends VivoBaseGenerator im
|
|||
setValidators( list("datatype:" + XSD.xstring.toString()) )
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
setName("existingSubjArea").
|
||||
setOptions(
|
||||
new IndividualsViaVClassOptions(subjAreaClass))
|
||||
conf.addField( new FieldVTwo(). // options set by auto complete JS
|
||||
setName("existingSubjArea")
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
|
@ -141,10 +139,10 @@ public class PersonHasAdvisingRelationshipGenerator extends VivoBaseGenerator im
|
|||
conf.addField( new FieldVTwo().
|
||||
setName("degree").
|
||||
setOptions(
|
||||
new IndividualsViaVClassOptions(degreeClass))
|
||||
new IndividualsViaVClassOptions(degreeClass))
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo(). //options set by auto complete JS
|
||||
conf.addField( new FieldVTwo(). // options set by auto complete JS
|
||||
setName("existingAdvisee")
|
||||
);
|
||||
|
||||
|
|
|
@ -109,14 +109,12 @@ public class PersonHasAwardOrHonorGenerator extends VivoBaseGenerator implements
|
|||
setValidators( list("datatype:" + XSD.xstring.toString()) )
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().//options will be added in browser by auto complete JS
|
||||
conf.addField( new FieldVTwo(). // options will be added in browser by auto complete JS
|
||||
setName("existingOrg")
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
setName("existingAward").
|
||||
setOptions( new IndividualsViaVClassOptions(
|
||||
awardClass))
|
||||
conf.addField( new FieldVTwo(). // options will be added in browser by auto complete JS
|
||||
setName("existingAward")
|
||||
);
|
||||
|
||||
conf.addField( new FieldVTwo().
|
||||
|
|
Loading…
Add table
Reference in a new issue