From 6d1c65713a0d783963be061de00b6120865cefc6 Mon Sep 17 00:00:00 2001 From: bdc34 Date: Tue, 13 Jul 2010 18:11:36 +0000 Subject: [PATCH] Working on clinical activity role form and view. NIHVIVO-629 NIHVIVO-630 --- productMods/edit/forms/addRoleToPersonTwoStage.jsp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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)

- +