Adding custom forms and short views for headOf, service to profession and outreach. NIHVIVO-629 NIHVIVO-630
This commit is contained in:
parent
7ad3188c8d
commit
5280e61a82
6 changed files with 142 additions and 0 deletions
40
productMods/edit/forms/addHeadOfRoleToPerson.jsp
Normal file
40
productMods/edit/forms/addHeadOfRoleToPerson.jsp
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
|
||||||
|
<jsp:include page="addRoleToPersonTwoStage.jsp">
|
||||||
|
<jsp:param name="roleActivityTypeLabel" value="head of" />
|
||||||
|
<jsp:param name="roleType" value="http://vivoweb.org/ontology/core#LeaderRole" />
|
||||||
|
|
||||||
|
<jsp:param name="roleActivityType_optionsType" value="LITERALS" />
|
||||||
|
<jsp:param name="roleActivityType_objectClassUri" value="" />
|
||||||
|
|
||||||
|
<jsp:param name="roleActivityType_literalOptions"
|
||||||
|
value='["http://purl.org/NET/c4dm/event.owl#Event", "Event" ],
|
||||||
|
["http://xmlns.com/foaf/0.1/Organization", "Organization" ],
|
||||||
|
["http://vivoweb.org/ontology/core#Project", "Project" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Program", "Program" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Team", "Team" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#School", "School" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Foundation", "Foundation" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#PrivateCompany", "Private Company" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Division", "Division" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#ResearchOrganization", "Research Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Extension Unit", "Extension Unit" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Library", "Library" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#College", "College" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#FundingOrganization", "Funding Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Publisher", "Publisher" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#GovernmentAgency", "Government Agency" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Association", "Association" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Committee", "Committee" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Department", "Department" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Clinical Organization", "Clinical Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Museum", "Museum" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Student Organization", "Student Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Laboratory", "Laboratory" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Center", "Center" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Hospital", "Hospital" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Consortium", "Consortium" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Institute", "Institute" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#University", "University" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Service","Service"] ' />
|
||||||
|
</jsp:include>
|
39
productMods/edit/forms/addOutreachRoleToPerson.jsp
Normal file
39
productMods/edit/forms/addOutreachRoleToPerson.jsp
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
|
||||||
|
<jsp:include page="addRoleToPersonTwoStage.jsp">
|
||||||
|
<jsp:param name="roleActivityTypeLabel" value="outreach & community service" />
|
||||||
|
<jsp:param name="roleType" value="http://vivoweb.org/ontology/core#OutreachProviderRole" />
|
||||||
|
|
||||||
|
<jsp:param name="roleActivityType_optionsType" value="LITERALS" />
|
||||||
|
<jsp:param name="roleActivityType_objectClassUri" value="" />
|
||||||
|
<jsp:param name="roleActivityType_literalOptions"
|
||||||
|
value='["http://purl.org/NET/c4dm/event.owl#Event", "Event" ],
|
||||||
|
["http://xmlns.com/foaf/0.1/Organization", "Organization" ],
|
||||||
|
["http://vivoweb.org/ontology/core#Project", "Project" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Program", "Program" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Team", "Team" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#School", "School" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Foundation", "Foundation" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#PrivateCompany", "Private Company" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Division", "Division" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#ResearchOrganization", "Research Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Extension Unit", "Extension Unit" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Library", "Library" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#College", "College" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#FundingOrganization", "Funding Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Publisher", "Publisher" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#GovernmentAgency", "Government Agency" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Association", "Association" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Committee", "Committee" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Department", "Department" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Clinical Organization", "Clinical Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Museum", "Museum" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Student Organization", "Student Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Laboratory", "Laboratory" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Center", "Center" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Hospital", "Hospital" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Consortium", "Consortium" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Institute", "Institute" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#University", "University" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Service","Service"] ' />
|
||||||
|
</jsp:include>
|
39
productMods/edit/forms/addServiceProviderRoleToPerson.jsp
Normal file
39
productMods/edit/forms/addServiceProviderRoleToPerson.jsp
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
|
||||||
|
<jsp:include page="addRoleToPersonTwoStage.jsp">
|
||||||
|
<jsp:param name="roleActivityTypeLabel" value="service to the profession" />
|
||||||
|
<jsp:param name="roleType" value="http://vivoweb.org/ontology/core#ServiceProviderRole" />
|
||||||
|
|
||||||
|
<jsp:param name="roleActivityType_optionsType" value="LITERALS" />
|
||||||
|
<jsp:param name="roleActivityType_objectClassUri" value="" />
|
||||||
|
<jsp:param name="roleActivityType_literalOptions"
|
||||||
|
value='["http://purl.org/NET/c4dm/event.owl#Event", "Event" ],
|
||||||
|
["http://xmlns.com/foaf/0.1/Organization", "Organization" ],
|
||||||
|
["http://vivoweb.org/ontology/core#Project", "Project" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Program", "Program" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Team", "Team" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#School", "School" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Foundation", "Foundation" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#PrivateCompany", "Private Company" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Division", "Division" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#ResearchOrganization", "Research Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Extension Unit", "Extension Unit" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Library", "Library" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#College", "College" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#FundingOrganization", "Funding Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Publisher", "Publisher" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#GovernmentAgency", "Government Agency" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Association", "Association" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Committee", "Committee" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Department", "Department" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Clinical Organization", "Clinical Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Museum", "Museum" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Student Organization", "Student Organization" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Laboratory", "Laboratory" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Center", "Center" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Hospital", "Hospital" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Consortium", "Consortium" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Institute", "Institute" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#University", "University" ],
|
||||||
|
[ "http://vivoweb.org/ontology/core#Service","Service"] ' />
|
||||||
|
</jsp:include>
|
8
productMods/templates/entity/headOfRoleShortView.jsp
Normal file
8
productMods/templates/entity/headOfRoleShortView.jsp
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
|
||||||
|
<jsp:include page="roleShortView.jsp">
|
||||||
|
<jsp:param name="personToRolePredicate" value="http://vivoweb.org/ontology/core#hasLeaderRole"/>
|
||||||
|
<jsp:param name="roleToPersonPredicate" value="http://vivoweb.org/ontology/core#leaderRoleOf"/>
|
||||||
|
<jsp:param name="roleActivityToRolePredicate" value="http://vivoweb.org/ontology/core#relatedRole"/>
|
||||||
|
<jsp:param name="roleActivityLabel" value="leadership role"/>
|
||||||
|
</jsp:include>
|
8
productMods/templates/entity/outreachRoleShortView.jsp
Normal file
8
productMods/templates/entity/outreachRoleShortView.jsp
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
|
||||||
|
<jsp:include page="roleShortView.jsp">
|
||||||
|
<jsp:param name="personToRolePredicate" value="http://vivoweb.org/ontology/core#hasOutreachProviderRole"/>
|
||||||
|
<jsp:param name="roleToPersonPredicate" value="http://vivoweb.org/ontology/core#outreachProviderRoleOf"/>
|
||||||
|
<jsp:param name="roleActivityToRolePredicate" value="http://vivoweb.org/ontology/core#relatedRole"/>
|
||||||
|
<jsp:param name="roleActivityLabel" value="outreach role"/>
|
||||||
|
</jsp:include>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
|
||||||
|
<jsp:include page="roleShortView.jsp">
|
||||||
|
<jsp:param name="personToRolePredicate" value="http://vivoweb.org/ontology/core#hasServiceProviderRole"/>
|
||||||
|
<jsp:param name="roleToPersonPredicate" value="http://vivoweb.org/ontology/core#serviceProviderRoleOf"/>
|
||||||
|
<jsp:param name="roleActivityToRolePredicate" value="http://vivoweb.org/ontology/core#relatedRole"/>
|
||||||
|
<jsp:param name="roleActivityLabel" value="service to profession role"/>
|
||||||
|
</jsp:include>
|
Loading…
Add table
Reference in a new issue