diff --git a/productMods/edit/forms/addRoleToPersonTwoStage.jsp b/productMods/edit/forms/addRoleToPersonTwoStage.jsp index fa6cd1d0..e686d40c 100644 --- a/productMods/edit/forms/addRoleToPersonTwoStage.jsp +++ b/productMods/edit/forms/addRoleToPersonTwoStage.jsp @@ -49,7 +49,8 @@ sparqlForAcFilter role type predicate inverse - role activity type label (should be singular) + role activity type label (should be singular) + super type of role types for roleActivityType select list generation --%> <%-- Must be all one line for JavaScript. --%> @@ -57,6 +58,7 @@ PREFIX core: <${vivoCore}> SELECT ?pubUri WHERE {<${subjectUri}> core:authorInAu clinical activity ${vivoCore}ClinicalRole +${vivoCore}Process <% VitroRequest vreq = new VitroRequest(request); @@ -150,10 +152,10 @@ PREFIX core: <${vivoCore}> SELECT ?pubUri WHERE {<${subjectUri}> core:authorInAu "roleActivityType" : { "newResource" : "true", "validators" : [ ], - "optionsType" : "VCLASSGROUP", + "optionsType" : "CHILD_VCLASSES", "literalOptions" : [ "Select one" ], "predicateUri" : "", - "objectClassUri" : "${publicationsClassGroupUriJson}", + "objectClassUri" : "${roleActivitySuperType}", "rangeDatatypeUri" : "", "rangeLang" : "", "assertions" : [ ] @@ -220,7 +222,7 @@ PREFIX core: <${vivoCore}> SELECT ?pubUri WHERE {<${subjectUri}> core:authorInAu
<%-- RY maybe make this a label and input field. See what looks best. --%>

(Verify this match)

- +