diff --git a/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf b/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf index 08d682c9..31ccd65e 100644 --- a/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf +++ b/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf @@ -1816,12 +1816,14 @@ display level 20 presentationActivity + addPresentationRoleToPerson.jsp -1 -1 + teachingActivityRoleShortView.jsp @@ -1840,6 +1842,7 @@ display level -1 + researchActivityRoleShortView.jsp true @@ -2011,6 +2014,7 @@ display level -1 + memberRoleShortView.jsp @@ -2493,6 +2497,7 @@ display level true This relates a person to a description of their teaching role, usually associated with an Event, Process, or Organization. These teaching roles can include courses previously taught, educational tutorials or workshops given, as well as activities related to enhancing teaching, such as developing a new course. Use core:teaches for the direct relationship between a Person and a Semester Class (usually imported from a system of record). 5 + addTeachingActivityRoleToPerson.jsp @@ -2527,6 +2532,7 @@ display level -1 -1 + presenterRoleShortView.jsp @@ -2822,6 +2828,7 @@ display level true 5 + addClinicalRoleToPerson.jsp -1 @@ -3395,6 +3402,7 @@ display level 25 true + addResearchActivityRoleToPerson.jsp @@ -4245,6 +4253,7 @@ display level 5 50 + addMemberRoleToPerson.jsp -1 diff --git a/productMods/edit/forms/addClinicalRoleToPerson.jsp b/productMods/edit/forms/addClinicalRoleToPerson.jsp new file mode 100644 index 00000000..9a8c279f --- /dev/null +++ b/productMods/edit/forms/addClinicalRoleToPerson.jsp @@ -0,0 +1,9 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%-- sparqlForAcFilter must be all one line for JavaScript. --%> + + + + + + \ No newline at end of file diff --git a/productMods/edit/forms/addMemberRoleToPerson.jsp b/productMods/edit/forms/addMemberRoleToPerson.jsp new file mode 100644 index 00000000..1806d6bd --- /dev/null +++ b/productMods/edit/forms/addMemberRoleToPerson.jsp @@ -0,0 +1,9 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%-- sparqlForAcFilter must be all one line for JavaScript. --%> + + + + + + \ No newline at end of file diff --git a/productMods/edit/forms/addPresentationRoleToPerson.jsp b/productMods/edit/forms/addPresentationRoleToPerson.jsp new file mode 100644 index 00000000..6e7b166c --- /dev/null +++ b/productMods/edit/forms/addPresentationRoleToPerson.jsp @@ -0,0 +1,9 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%-- sparqlForAcFilter must be all one line for JavaScript. --%> + + + + + + \ No newline at end of file diff --git a/productMods/edit/forms/addResearchActivityRoleToPerson.jsp b/productMods/edit/forms/addResearchActivityRoleToPerson.jsp new file mode 100644 index 00000000..4ca19640 --- /dev/null +++ b/productMods/edit/forms/addResearchActivityRoleToPerson.jsp @@ -0,0 +1,9 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%-- sparqlForAcFilter must be all one line for JavaScript. --%> + + + + + + \ No newline at end of file diff --git a/productMods/edit/forms/addRoleToPersonTwoStage.jsp b/productMods/edit/forms/addRoleToPersonTwoStage.jsp index e686d40c..ca2792a2 100644 --- a/productMods/edit/forms/addRoleToPersonTwoStage.jsp +++ b/productMods/edit/forms/addRoleToPersonTwoStage.jsp @@ -16,6 +16,10 @@ core:relatedRole ?someActivity . ?someActivity rdf:type core:ResearchActivity . ?someActivity rdfs:label "activity title" . + + Important: This form cannot be directly used as a custom form. It has parameters that must be set. + See addClinicalRoleToPerson.jsp for an example. + --%> <%@ page import="java.util.List" %> @@ -45,20 +49,17 @@ <%-- - It may make sense to parameterize this jsp: + These are the parameters that MUST be set of this form: sparqlForAcFilter - role type - predicate inverse - role activity type label (should be singular) - super type of role types for roleActivityType select list generation + role type + predicate inverse + role activity type label (should be singular) + super type of role types for roleActivityType select list generation --%> -<%-- Must be all one line for JavaScript. --%> - -PREFIX core: <${vivoCore}> SELECT ?pubUri WHERE {<${subjectUri}> core:authorInAuthorship ?authorshipUri .?authorshipUri core:linkedInformationResource ?pubUri .} - -clinical activity -${vivoCore}ClinicalRole -${vivoCore}Process +${param.sparqlForAcFilter} +${param.roleActivityTypeLabel} +${param.roleType} +${param.roleActivitySuperType} <% VitroRequest vreq = new VitroRequest(request); diff --git a/productMods/edit/forms/addTeachingActivityRoleToPerson.jsp b/productMods/edit/forms/addTeachingActivityRoleToPerson.jsp new file mode 100644 index 00000000..c5cef117 --- /dev/null +++ b/productMods/edit/forms/addTeachingActivityRoleToPerson.jsp @@ -0,0 +1,9 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%-- sparqlForAcFilter must be all one line for JavaScript. --%> + + + + + + \ No newline at end of file diff --git a/productMods/templates/entity/memberRoleShortView.jsp b/productMods/templates/entity/memberRoleShortView.jsp new file mode 100644 index 00000000..258cd572 --- /dev/null +++ b/productMods/templates/entity/memberRoleShortView.jsp @@ -0,0 +1 @@ +todo diff --git a/productMods/templates/entity/presenterRoleShortView.jsp b/productMods/templates/entity/presenterRoleShortView.jsp new file mode 100644 index 00000000..258cd572 --- /dev/null +++ b/productMods/templates/entity/presenterRoleShortView.jsp @@ -0,0 +1 @@ +todo diff --git a/productMods/templates/entity/researchActivityRoleShortView.jsp b/productMods/templates/entity/researchActivityRoleShortView.jsp new file mode 100644 index 00000000..258cd572 --- /dev/null +++ b/productMods/templates/entity/researchActivityRoleShortView.jsp @@ -0,0 +1 @@ +todo diff --git a/productMods/templates/entity/teachingActivityRoleShortView.jsp b/productMods/templates/entity/teachingActivityRoleShortView.jsp new file mode 100644 index 00000000..258cd572 --- /dev/null +++ b/productMods/templates/entity/teachingActivityRoleShortView.jsp @@ -0,0 +1 @@ +todo