NIHVIVO-2811 Make the webapp directory more closely resemble the product base directory - move tlds, filegraph, ontologies, dwr.xml and web.xml into web/WEB-INF. Adjust the build script accordingly.
This commit is contained in:
parent
104d8e0b49
commit
ffe163c59c
20 changed files with 3441 additions and 0 deletions
134
webapp/web/WEB-INF/ontologies/app/application.owl
Normal file
134
webapp/web/WEB-INF/ontologies/app/application.owl
Normal file
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE rdf:RDF [
|
||||
<!ENTITY display "http://vitro.mannlib.cornell.edu/ontologies/display/1.1#">
|
||||
<!ENTITY owl "http://www.w3.org/2002/07/owl#">
|
||||
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
|
||||
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
|
||||
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
|
||||
|
||||
]>
|
||||
<rdf:RDF xml:base="http://vitro.mannlib.cornell.edu/ontologies/display/1.1/"
|
||||
xmlns:display="&display;"
|
||||
xmlns:owl="&owl;"
|
||||
xmlns:rdf="&rdf;"
|
||||
xmlns:rdfs="&rdfs;"
|
||||
xmlns:vitro="&vitro;">
|
||||
|
||||
<!-- Ontology Information -->
|
||||
<owl:Ontology rdf:about=""
|
||||
rdfs:label="Vitro display ontology"
|
||||
owl:versionInfo="1.1"/>
|
||||
|
||||
<!-- Classes -->
|
||||
<owl:Class rdf:about="#Menu"/>
|
||||
<owl:Class rdf:about="#parameter"/>
|
||||
<owl:Class rdf:about="&display;ExternallyLinkedNamespace"
|
||||
rdfs:label="Externally Linked Namespace"/>
|
||||
<owl:Class rdf:about="&display;NavigationElement"
|
||||
rdfs:label="Navigation Element">
|
||||
<rdfs:comment>This represents a menu item or other general navigation item.</rdfs:comment>
|
||||
</owl:Class>
|
||||
|
||||
<owl:Class rdf:about="&display;Page"
|
||||
rdfs:comment="Class of pages."
|
||||
rdfs:label="Page"/>
|
||||
<owl:Class rdf:about="&rdfs;subPropertyOf"/>
|
||||
<owl:Class rdf:about="&owl;NamedIndividual"/>
|
||||
<owl:Class rdf:about="&owl;DatatypeProperty"/>
|
||||
<owl:Class rdf:about="&owl;ObjectProperty"/>
|
||||
<owl:Class rdf:about="&owl;AnnotationProperty"/>
|
||||
|
||||
|
||||
<owl:Class rdf:about="&owl;Class"/>
|
||||
<owl:Class rdf:about="&display;MainMenu">
|
||||
<vitro:customDisplayViewAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
|
||||
individual-menu.ftl
|
||||
</vitro:customDisplayViewAnnot>
|
||||
</owl:Class>
|
||||
<owl:Class rdf:about="&owl;Ontology"/>
|
||||
|
||||
<!-- types of pages -->
|
||||
<owl:Class rdf:about="&display;HomePage"/>
|
||||
<owl:Class rdf:about="&display;ClassGroupPage"/>
|
||||
<owl:Class rdf:about="&display;IndividualsForClassesPage"/>
|
||||
<owl:Class rdf:about="&display;InternalClassesPage"/>
|
||||
|
||||
|
||||
<!-- Annotation Properties -->
|
||||
<owl:AnnotationProperty rdf:about="&rdfs;comment"/>
|
||||
<owl:AnnotationProperty rdf:about="&rdfs;label"/>
|
||||
<owl:AnnotationProperty rdf:about="&owl;versionInfo"/>
|
||||
|
||||
<!-- Datatype Properties -->
|
||||
<owl:DatatypeProperty rdf:about="&owl;DatatypeProperty"/>
|
||||
<owl:DatatypeProperty rdf:about="&owl;topDataProperty"/>
|
||||
<!--Originall generated - check if need these-->
|
||||
<owl:DatatypeProperty rdf:about="&rdfs;comment"/>
|
||||
<owl:DatatypeProperty rdf:about="&rdfs;label"/>
|
||||
<owl:DatatypeProperty rdf:about="&owl;versionInfo"/>
|
||||
<!--end originally generated -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;linkText"
|
||||
rdfs:comment="Text to display to a link.">
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;menuPosition"
|
||||
rdfs:label="menu position">
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;parameterName"
|
||||
rdfs:label="parameter name"/>
|
||||
<owl:DatatypeProperty rdf:about="&display;parameterValue"
|
||||
rdfs:label="parameter value"/>
|
||||
<owl:DatatypeProperty rdf:about="&display;requiresBodyTemplate"
|
||||
rdfs:label="Body Template">
|
||||
<rdfs:comment>Indicates that a page requires a body template.</rdfs:comment>
|
||||
<rdfs:domain rdf:resource="&display;Page"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;title"
|
||||
rdfs:comment="Value for HTML title element."
|
||||
rdfs:label="title">
|
||||
<rdfs:domain rdf:resource="&display;Page"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;urlMapping">
|
||||
<rdfs:comment>Values from HttpRequest.getPathInfo() will be mapped to values from urlMapping.</rdfs:comment>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;listViewConfigFile"/>
|
||||
<owl:DatatypeProperty rdf:about="&display;restrictResultsByInternalClass"/>
|
||||
|
||||
<!-- Object Properties -->
|
||||
<owl:ObjectProperty rdf:about="&owl;topObjectProperty"/>
|
||||
<owl:ObjectProperty rdf:about="&rdfs;domain"/>
|
||||
<owl:ObjectProperty rdf:about="&rdfs;range"/>
|
||||
<owl:ObjectProperty rdf:about="&display;hasElement">
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#hasParameter">
|
||||
<rdfs:domain rdf:resource="&display;Page"/>
|
||||
<rdfs:range rdf:resource="#parameter"/>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="excludeClass">
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="includeClass">
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="&display;toPage">
|
||||
<rdfs:domain rdf:resource="&display;NavigationElement"/>
|
||||
<rdfs:range rdf:resource="&display;Page"/>
|
||||
</owl:ObjectProperty>
|
||||
<owl:ObjectProperty rdf:about="&display;forClassGroup"/>
|
||||
<owl:ObjectProperty rdf:about="&display;excludeClass"/>
|
||||
<owl:ObjectProperty rdf:about="&display;restrictResultsByClass"/>
|
||||
<owl:ObjectProperty rdf:about="&display;getIndividualsForClass"/>
|
||||
<owl:ObjectProperty rdf:about="&display;hasDataGetter"/>
|
||||
|
||||
<!--Custom properties-->
|
||||
|
||||
|
||||
</rdf:RDF>
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE rdf:RDF [
|
||||
<!ENTITY display "http://vitro.mannlib.cornell.edu/ontologies/display/1.1#">
|
||||
<!ENTITY owl "http://www.w3.org/2002/07/owl#">
|
||||
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
|
||||
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
|
||||
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
|
||||
]>
|
||||
|
||||
<rdf:RDF xml:base="http://vitro.mannlib.cornell.edu/ontologies/display/1.1/"
|
||||
xmlns:display="&display;"
|
||||
xmlns:owl="&owl;"
|
||||
xmlns:rdf="&rdf;"
|
||||
xmlns:rdfs="&rdfs;"
|
||||
xmlns:vitro="&vitro;">
|
||||
|
||||
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasElement">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasElement.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
</rdf:RDF>
|
35
webapp/web/WEB-INF/ontologies/app/menu.n3
Normal file
35
webapp/web/WEB-INF/ontologies/app/menu.n3
Normal file
|
@ -0,0 +1,35 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
|
||||
### This file defines the default menu for vitro. ###
|
||||
|
||||
#### Default Menu ####
|
||||
|
||||
display:DefaultMenu
|
||||
a display:MainMenu ;
|
||||
display:hasElement display:HomeMenuItem .
|
||||
|
||||
#### Menu Items for Default Menu ####
|
||||
|
||||
display:HomeMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 1;
|
||||
display:linkText "Home";
|
||||
display:toPage display:Home .
|
||||
|
||||
########## Pages ############
|
||||
|
||||
display:Home
|
||||
a display:HomePage ;
|
||||
a display:Page ;
|
||||
display:title "Home" ;
|
||||
display:urlMapping "/" ;
|
||||
display:hasDataGetter display:homeDataGetter .
|
||||
|
||||
########## Data Getter ############
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#homeDataGetter>
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.pageDataGetter.BrowseDataGetter> .
|
96
webapp/web/WEB-INF/ontologies/app/menuload/displayDisplay.n3
Normal file
96
webapp/web/WEB-INF/ontologies/app/menuload/displayDisplay.n3
Normal file
|
@ -0,0 +1,96 @@
|
|||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#MenuText>
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasMenuText>
|
||||
"""# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
@prefix core: <http://vivoweb.org/ontology/core#> .
|
||||
@prefix vivoweb: <http://vivoweb.org/ontology#> .
|
||||
|
||||
### This file defines the default menu for vivo. ###
|
||||
|
||||
#### Default Menu ####
|
||||
|
||||
display:DefaultMenu
|
||||
a display:MainMenu ;
|
||||
display:hasElement display:EventsMenuItem ;
|
||||
display:hasElement display:HomeMenuItem ;
|
||||
display:hasElement display:OrganizationsMenuItem ;
|
||||
display:hasElement display:PeopleMenuItem ;
|
||||
display:hasElement display:ResearchMenuItem .
|
||||
|
||||
#### Menu Items for Default Menu ####
|
||||
|
||||
display:HomeMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 1;
|
||||
display:linkText \"Home\";
|
||||
display:toPage display:Home .
|
||||
|
||||
display:PeopleMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 2;
|
||||
display:linkText \"People\";
|
||||
display:toPage display:People .
|
||||
|
||||
display:OrganizationsMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 3;
|
||||
display:linkText \"Organizations\";
|
||||
display:toPage display:Organizations .
|
||||
|
||||
display:ResearchMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 4;
|
||||
display:linkText \"Research\";
|
||||
display:toPage display:Research .
|
||||
|
||||
display:EventsMenuItem
|
||||
a display:NavigationElement ;
|
||||
display:menuPosition 5;
|
||||
display:linkText \"Events\";
|
||||
display:toPage display:Events .
|
||||
|
||||
########## Pages ############
|
||||
|
||||
display:Home
|
||||
a display:HomePage ;
|
||||
a display:Page ;
|
||||
display:title \"Home\" ;
|
||||
display:urlMapping \"/\" .
|
||||
|
||||
display:Events
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGroupevents ;
|
||||
display:title \"Events\" ;
|
||||
display:urlMapping \"/events\" .
|
||||
|
||||
display:Organizations
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGrouporganizations ;
|
||||
display:title \"Organizations\" ;
|
||||
display:urlMapping \"/organizations\" .
|
||||
|
||||
display:People
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGrouppeople ;
|
||||
display:requiresBodyTemplate \"menupage--classgroup-people.ftl\" ;
|
||||
display:title \"People\" ;
|
||||
display:urlMapping \"/people\" .
|
||||
|
||||
display:Research
|
||||
a display:Page ;
|
||||
a display:ClassGroupPage;
|
||||
display:forClassGroup vivoweb:vitroClassGrouppublications ;
|
||||
display:title \"Research\" ;
|
||||
display:urlMapping \"/research\" .
|
||||
""" .
|
176
webapp/web/WEB-INF/ontologies/app/menuload/displayTBOX.n3
Normal file
176
webapp/web/WEB-INF/ontologies/app/menuload/displayTBOX.n3
Normal file
|
@ -0,0 +1,176 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
|
||||
|
||||
#########Classes#########
|
||||
###Basic
|
||||
owl:Class
|
||||
a owl:Class .
|
||||
|
||||
owl:Ontology
|
||||
a owl:Class .
|
||||
|
||||
owl:AnnotationProperty
|
||||
a owl:Class .
|
||||
|
||||
owl:DatatypeProperty
|
||||
a owl:Class .
|
||||
|
||||
owl:ObjectProperty
|
||||
a owl:Class .
|
||||
|
||||
###Display Model
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#MainMenu>
|
||||
a owl:Class ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customDisplayViewAnnot>
|
||||
"individual-menu.ftl"^^xsd:string .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#NavigationElement>
|
||||
a owl:Class .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#Page>
|
||||
a owl:Class .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#HomePage>
|
||||
a owl:Class .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#ClassGroupPage>
|
||||
a owl:Class .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#IndividualsForClassesPage>
|
||||
a owl:Class .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#InternalClassesPage>
|
||||
a owl:Class .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#DataGetter>
|
||||
a owl:Class .
|
||||
|
||||
|
||||
|
||||
########Data Properties#########
|
||||
|
||||
###Basic
|
||||
|
||||
rdfs:comment
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
rdfs:label
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
owl:versionInfo
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
###Vitro model
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime>
|
||||
a owl:DatatypeProperty .
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#displayRank>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customDisplayViewAnnot>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
###Display model
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#listViewConfigFile>
|
||||
a owl:DatatypeProperty .
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#title>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#urlMapping>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#requiresBodyTemplate>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#menuPosition>
|
||||
a owl:DatatypeProperty ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#displayLimitAnnot>
|
||||
"1"^^xsd:int .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#linkText>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasMenuText>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#usesDataGetterClass>
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
|
||||
######### Object Properties#########
|
||||
###Basic
|
||||
rdfs:range
|
||||
a owl:ObjectProperty .
|
||||
rdfs:domain
|
||||
a owl:ObjectProperty .
|
||||
owl:topObjectProperty
|
||||
a owl:ObjectProperty .
|
||||
|
||||
###Vitro properties without which individual templates throw errors as are required
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage>
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:range <http://vitro.mannlib.cornell.edu/ns/vitro/public#File> ;
|
||||
rdfs:subPropertyOf <http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage> , owl:topObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#primaryLink>
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:label "Primary Link"@en-US ;
|
||||
rdfs:range <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#Link> ;
|
||||
rdfs:subPropertyOf <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#primaryLink> , owl:topObjectProperty ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot>
|
||||
"defaultLinkForm.jsp"^^xsd:string ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#forceStubDeletionAnnot>
|
||||
"true"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot>
|
||||
"true"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot>
|
||||
"false"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#stubObjectPropertyAnnot>
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#additionalLink>
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:label "Additional Link"@en-US ;
|
||||
rdfs:range <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#Link> ;
|
||||
rdfs:subPropertyOf <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#additionalLink> , owl:topObjectProperty ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot>
|
||||
"defaultLinkForm.jsp"^^xsd:string ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#forceStubDeletionAnnot>
|
||||
"true"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot>
|
||||
"true"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot>
|
||||
"false"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#stubObjectPropertyAnnot>
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
###Display model
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasElement>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#excludeClass>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#toPage>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#forClassGroup>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasDataGetter>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#getIndividualsForClass>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#restrictResultsByClass>
|
||||
a owl:ObjectProperty .
|
||||
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
# $This file is distributed under the terms of the license in /doc/license.txt$
|
||||
|
||||
# All instances of a class can be excluded from the search index
|
||||
# by adding a vitroDisplay:excludeClass property between
|
||||
# vitroDisplay:SearchIndex and the URI of the class
|
||||
# that you would like to exclude.
|
||||
|
||||
# All .n3 or .rdf files in this directory will be used to configure
|
||||
# the search exclusions. Each file must be a valid file in the format
|
||||
# specified by its extension. Each file will be loaded individually and
|
||||
# must be a complete stand alone example of its format. Each file must contain all
|
||||
# the necessary prefixes, namespaces and preambles required by the format
|
||||
# specified by its extension.
|
||||
|
||||
# If you would like to add classes to the
|
||||
# exclusions, add a file to this directory ending in .n3 with
|
||||
# N3 statements similar to this example.
|
||||
|
||||
#
|
||||
# @prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
# @prefix vitroDisplay: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
# @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
# @prefix example: <http://example/ns/> .
|
||||
#
|
||||
# vitroDisplay:SearchIndex
|
||||
# rdf:type owl:Thing ;
|
||||
# vitroDisplay:excludeClass example:classToExclude ;
|
155
webapp/web/WEB-INF/ontologies/system/vitro-0.7.owl
Normal file
155
webapp/web/WEB-INF/ontologies/system/vitro-0.7.owl
Normal file
|
@ -0,0 +1,155 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE rdf [
|
||||
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
|
||||
<!ENTITY list "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"> ]>
|
||||
|
||||
<rdf:RDF
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||
xmlns:vitro="&vitro;"
|
||||
>
|
||||
|
||||
|
||||
<!-- Vitro Application Ontology version 0.7 -->
|
||||
|
||||
<!-- This ontology is used internally by the Vitro 0.7 Java application. It is not user viewable or editable: editing this file could have various unintended consequences -->
|
||||
|
||||
<owl:Ontology rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7">
|
||||
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Vitro internals</rdfs:label>
|
||||
<owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.7</owl:versionInfo>
|
||||
</owl:Ontology>
|
||||
|
||||
<!-- general Vitro constructs -->
|
||||
|
||||
<owl:AnnotationProperty rdf:about="&vitro;descriptionAnnot"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;displayLimit"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;displayLimitAnnot"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;displayRank"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;displayRankAnnot"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;exampleAnnot"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;hidden"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;hiddenAnnot"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;modTimeAnnot"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;shortDefAnnot"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;oldId"/>
|
||||
|
||||
<!-- VClassGroup-related constructs -->
|
||||
|
||||
<owl:Class rdf:about="&vitro;ClassGroup"/>
|
||||
|
||||
<!-- VClass-related constructs -->
|
||||
|
||||
<owl:AnnotationProperty rdf:about="&vitro;harvestId"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;inClassGroup"/>
|
||||
|
||||
<!-- ObjectProperty-related constructs -->
|
||||
|
||||
<owl:AnnotationProperty rdf:about="&vitro;fullPropertyNameAnnot"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;individualSortFieldAnnot"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;individualSortDirectionAnnot"/>
|
||||
|
||||
<!-- externalID-related constructs -->
|
||||
|
||||
<owl:AnnotationProperty rdf:about="&vitro;isExternalId"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;originalId"/>
|
||||
|
||||
<!-- other Individual-related -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&vitro;modTime"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;moniker"/>
|
||||
|
||||
<!-- Portal-related constructs -->
|
||||
|
||||
<owl:Class rdf:about="&vitro;Portal"/>
|
||||
<owl:ObjectProperty rdf:about="&vitro;rootTab"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;themeDir"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;bannerImage"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;contactMail"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;shortHand"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;aboutText"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;acknowledgeText"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;bannerWidth"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;bannerHeight"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;copyrightURL"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;copyrightAnchor"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;rootBreadCrumbURL"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;rootBreadCrumbAnchor"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;logotypeImage"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;logotypeHeight"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;logotypeWidth"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;imageThumbWidth"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;urlPrefix"/>
|
||||
|
||||
<!-- Application-related constructs -->
|
||||
|
||||
<owl:Class rdf:about="&vitro;Application"/>
|
||||
<owl:DatatypeProperty rdf:about="&vitro;rootLogotypeImage"/>
|
||||
|
||||
<!-- User-related constructs -->
|
||||
|
||||
<owl:Class rdf:about="&vitro;User"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#username"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#md5password"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#oldpassword"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#firstTime"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#loginCount"/>
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#roleURI"/>
|
||||
|
||||
<!-- Namespace metadata -->
|
||||
<owl:DatatypeProperty rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#namespaceURI"/>
|
||||
<owl:Class rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#Namespace"/>
|
||||
|
||||
|
||||
<!-- additions -->
|
||||
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#hiddenFromDisplayBelowRoleLevelAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#forceStubDeletionAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customShortViewAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#objectIndividualSortProperty">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#PropertyGroup">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#inPropertyGroupAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#shortDef">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#publicDescriptionAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#prohibitedFromUpdateBelowRoleLevelAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customDisplayViewAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
|
||||
<owl:AnnotationProperty rdf:about="&vitro;mostSpecificType"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;extendedLinkedData"/>
|
||||
<!--Institutional Internal class -->
|
||||
<owl:AnnotationProperty rdf:about="&vitro;isMenuPageIntersectionClass"/>
|
||||
|
||||
</rdf:RDF>
|
69
webapp/web/WEB-INF/ontologies/system/vitroPublic.owl
Normal file
69
webapp/web/WEB-INF/ontologies/system/vitroPublic.owl
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE rdf [
|
||||
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
|
||||
]>
|
||||
|
||||
<rdf:RDF
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||
|
||||
xmlns="http://vitro.mannlib.cornell.edu/ns/vitro/public#"
|
||||
xml:base="http://vitro.mannlib.cornell.edu/ns/vitro/public"
|
||||
>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Vitro Application Public Ontology
|
||||
|
||||
This ontology is used by the Vitro application.
|
||||
It contains constructs that are available for public export and use.
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<owl:Ontology rdf:about="">
|
||||
<rdfs:label rdf:datatype="&xsd;string">Vitro public constructs</rdfs:label>
|
||||
<owl:versionInfo rdf:datatype="&xsd;decimal">0.1</owl:versionInfo>
|
||||
</owl:Ontology>
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
File-related constructs
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<owl:Class rdf:about="#File"/>
|
||||
<owl:Class rdf:about="#FileByteStream"/>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="#filename">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range rdf:resource="&xsd;string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="#mimeType">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range rdf:resource="&xsd;string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:DatatypeProperty rdf:about="#attribution">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range rdf:resource="&xsd;string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#downloadLocation">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range><owl:Class rdf:about="#FileByteStream"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#thumbnailImage">
|
||||
<rdfs:domain><owl:Class rdf:about="#File"/></rdfs:domain>
|
||||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#mainImage">
|
||||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
<owl:ObjectProperty rdf:about="#image">
|
||||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
</rdf:RDF>
|
51
webapp/web/WEB-INF/tlds/ListSparqlTag.tld
Normal file
51
webapp/web/WEB-INF/tlds/ListSparqlTag.tld
Normal file
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<taglib
|
||||
xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
<description></description>
|
||||
<display-name>List SPARQL JSP taglib</display-name>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<short-name>sparql</short-name>
|
||||
<uri>http://mannlib.cornell.edu/vitro/ListSparqlTag/0.1/</uri>
|
||||
|
||||
<tag>
|
||||
<description>SPARQL select tag. (Must be nested inside sparql:sparql)</description>
|
||||
<display-name>SPARQL select tag</display-name>
|
||||
<name>select</name>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.ListSparqlTag</tag-class>
|
||||
<body-content>tagdependent</body-content>
|
||||
|
||||
<variable>
|
||||
<name-from-attribute>var</name-from-attribute>
|
||||
<variable-class>java.util.List</variable-class>
|
||||
<scope>AT_BEGIN</scope>
|
||||
</variable>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>model</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>com.hp.hpl.jena.rdf.model.Model</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<dynamic-attributes>true</dynamic-attributes>
|
||||
|
||||
<example>
|
||||
|
||||
</example>
|
||||
|
||||
</tag>
|
||||
|
||||
</taglib>
|
28
webapp/web/WEB-INF/tlds/StringProcessorTag.tld
Normal file
28
webapp/web/WEB-INF/tlds/StringProcessorTag.tld
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<taglib
|
||||
xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<uri>http://vitro.mannlib.cornell.edu/vitro/tags/StringProcessorTag</uri>
|
||||
|
||||
<!--
|
||||
This taglib is for processing the output using a UnaryFunctor<String,String>
|
||||
found in the request scope.
|
||||
-->
|
||||
|
||||
<tag>
|
||||
<name>process</name>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.StringProcessorTag</tag-class>
|
||||
<display-name>String Processor</display-name>
|
||||
<description>
|
||||
Processes output using "StringProcessor" from request.
|
||||
</description>
|
||||
|
||||
<body-content>scriptless</body-content>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
40
webapp/web/WEB-INF/tlds/VitroUtils.tld
Normal file
40
webapp/web/WEB-INF/tlds/VitroUtils.tld
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<taglib
|
||||
xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<display-name>Vitro Utilities taglib</display-name>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
|
||||
<short-name>Library of JSP utility tags for Vitro</short-name>
|
||||
<!--
|
||||
This library has an assortment of tags for tasks that are common to many Vitro pages.
|
||||
-->
|
||||
|
||||
<tag>
|
||||
<name>confirmAuthorization</name>
|
||||
<display-name>Confirm that the user is authorized for the actions that this page requires.</display-name>
|
||||
<description>
|
||||
Confirm that the user is authorized to perform all of the RequestedActions that
|
||||
this page requires. If any of the actions is not authorized, the user will be
|
||||
redirected to the appropriate page.
|
||||
|
||||
The actions must be found in the "requestedActions" attribute of the request.
|
||||
The attribute may be a RequestedAction or an array of RequestedActions.
|
||||
|
||||
If the user is not authorized because he is not logged in, he will be directed
|
||||
to the login page, with the current request stored as a post-login destination.
|
||||
|
||||
If the user is logged in but without sufficient authorization, he will be
|
||||
directed to the home page, which will display an "insufficient authorization"
|
||||
message.
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.ConfirmAuthorization</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
563
webapp/web/WEB-INF/tlds/c.tld
Normal file
563
webapp/web/WEB-INF/tlds/c.tld
Normal file
|
@ -0,0 +1,563 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 core library</description>
|
||||
<display-name>JSTL core</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>c</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/core</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlCoreTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Catches any Throwable that occurs in its body and optionally
|
||||
exposes it.
|
||||
</description>
|
||||
<name>catch</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
exception thrown from a nested action. The type of the
|
||||
scoped variable is the type of the exception thrown.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag, which evalutes its body if the
|
||||
supplied condition is true and optionally exposes a Boolean
|
||||
scripting variable representing the evaluation of this condition
|
||||
</description>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that determines whether or
|
||||
not the body content should be processed.
|
||||
</description>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resulting value of the test condition. The type
|
||||
of the scoped variable is Boolean.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Retrieves an absolute or relative URL and exposes its contents
|
||||
to either the page, a String in 'var', or a Reader in 'varReader'.
|
||||
</description>
|
||||
<name>import</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The URL of the resource to import.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resource's content. The type of the scoped
|
||||
variable is String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resource's content. The type of the scoped
|
||||
variable is Reader.
|
||||
</description>
|
||||
<name>varReader</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when accessing a relative
|
||||
URL resource that belongs to a foreign
|
||||
context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Character encoding of the content at the input
|
||||
resource.
|
||||
</description>
|
||||
<name>charEncoding</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
The basic iteration tag, accepting many different
|
||||
collection types and supporting subsetting and other
|
||||
functionality
|
||||
</description>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Collection of items to iterate over.
|
||||
</description>
|
||||
<name>items</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.Object</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If items specified:
|
||||
Iteration begins at the item located at the
|
||||
specified index. First item of the collection has
|
||||
index 0.
|
||||
If items not specified:
|
||||
Iteration begins with index set at the value
|
||||
specified.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If items specified:
|
||||
Iteration ends at the item located at the
|
||||
specified index (inclusive).
|
||||
If items not specified:
|
||||
Iteration ends when index reaches the value
|
||||
specified.
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step items of
|
||||
the collection, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped
|
||||
variable has nested visibility. Its type depends
|
||||
on the object of the underlying collection.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of type
|
||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
|
||||
visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Iterates over tokens, separated by the supplied delimeters
|
||||
</description>
|
||||
<name>forTokens</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
String of tokens to iterate over.
|
||||
</description>
|
||||
<name>items</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The set of delimiters (the characters that
|
||||
separate the tokens in the string).
|
||||
</description>
|
||||
<name>delims</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration begins at the token located at the
|
||||
specified index. First token has index 0.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration ends at the token located at the
|
||||
specified index (inclusive).
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step tokens
|
||||
of the string, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped
|
||||
variable has nested visibility.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of
|
||||
type
|
||||
javax.servlet.jsp.jstl.core.LoopTag
|
||||
Status. This scoped variable has nested
|
||||
visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Like <%= ... >, but for expressions.
|
||||
</description>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Expression to be evaluated.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Default value if the resulting value is null.
|
||||
</description>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Determines whether characters <,>,&,'," in the
|
||||
resulting string should be converted to their
|
||||
corresponding character entity codes. Default value is
|
||||
true.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Adds a parameter to a containing 'import' tag's URL.
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the query string parameter.
|
||||
</description>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Value of the parameter.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Redirects to a new URL.
|
||||
</description>
|
||||
<name>redirect</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The URL of the resource to redirect to.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when redirecting to a relative URL
|
||||
resource that belongs to a foreign context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Removes a scoped variable (from a particular scope, if specified).
|
||||
</description>
|
||||
<name>remove</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the scoped variable to be removed.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets the result of an expression evaluation in a 'scope'
|
||||
</description>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable to hold the value
|
||||
specified in the action. The type of the scoped variable is
|
||||
whatever type the value expression evaluates to.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Expression to be evaluated.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Target object whose property will be set. Must evaluate to
|
||||
a JavaBeans object with setter property property, or to a
|
||||
java.util.Map object.
|
||||
</description>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the property to be set in the target object.
|
||||
</description>
|
||||
<name>property</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Creates a URL with optional query parameters.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
processed url. The type of the scoped variable is
|
||||
String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
URL to be processed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when specifying a relative URL
|
||||
resource that belongs to a foreign context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
condition evalutes to 'true'
|
||||
</description>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that determines whether or not the
|
||||
body content should be processed.
|
||||
</description>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
185
webapp/web/WEB-INF/tlds/database.tld
Normal file
185
webapp/web/WEB-INF/tlds/database.tld
Normal file
|
@ -0,0 +1,185 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
|
||||
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
|
||||
<taglib>
|
||||
<tlibversion>1.0</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>Sun Microsystems Press Tag library modified for Mann Library, Cornell</shortname>
|
||||
<!--
|
||||
<tag>
|
||||
<name>show_table</name>
|
||||
<tagclass>tags.jdbc.ShowTableTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>query</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>database</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>border</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cellPadding</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>transaction</name>
|
||||
<tagclass>tags.jdbc.TransactionTag</tagclass>
|
||||
<bodycontent>tagdependent</bodycontent>
|
||||
<attribute>
|
||||
<name>file</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>prepareStatement</name>
|
||||
<tagclass>tags.jdbc.PrepareStatementTag</tagclass>
|
||||
<bodycontent>tagdependent</bodycontent>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>executePreparedStatement</name>
|
||||
<tagclass>tags.jdbc.ExecutePreparedStatementTag</tagclass>
|
||||
<bodycontent>None</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>variables</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
-->
|
||||
<tag>
|
||||
<name>query</name>
|
||||
<tagclass>tags.jdbc.QueryTag</tagclass>
|
||||
<!--bodycontent>tagdependent</bodycontent-->
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>update</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>rows</name>
|
||||
<tagclass>tags.jdbc.RowsTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>query</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>startRow</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>endRow</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>columnNames</name>
|
||||
<tagclass>tags.jdbc.ColumnNamesTag</tagclass>
|
||||
<teiclass>tags.jdbc.ColumnNamesTagInfo</teiclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>query</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>columns</name>
|
||||
<tagclass>tags.jdbc.ColumnsTag</tagclass>
|
||||
<teiclass>tags.jdbc.ColumnsTagInfo</teiclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>query</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>select_columns</name>
|
||||
<tagclass>tags.jdbc.SelectColumnsTag</tagclass>
|
||||
<teiclass>tags.jdbc.SelectColumnsTagInfo</teiclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>query</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>selectValue</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>release</name>
|
||||
<tagclass>tags.jdbc.ReleaseTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>query</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
207
webapp/web/WEB-INF/tlds/fn.tld
Normal file
207
webapp/web/WEB-INF/tlds/fn.tld
Normal file
|
@ -0,0 +1,207 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 functions library</description>
|
||||
<display-name>JSTL functions</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>fn</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/functions</uri>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string contains the specified substring.
|
||||
</description>
|
||||
<name>contains</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean contains(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:contains(name, searchString)}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string contains the specified substring in a case insensitive way.
|
||||
</description>
|
||||
<name>containsIgnoreCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean containsIgnoreCase(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:containsIgnoreCase(name, searchString)}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string ends with the specified suffix.
|
||||
</description>
|
||||
<name>endsWith</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean endsWith(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:endsWith(filename, ".txt")}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Escapes characters that could be interpreted as XML markup.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String escapeXml(java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:escapeXml(param:info)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns the index withing a string of the first occurrence of a specified substring.
|
||||
</description>
|
||||
<name>indexOf</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>int indexOf(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:indexOf(name, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Joins all elements of an array into a string.
|
||||
</description>
|
||||
<name>join</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String join(java.lang.String[], java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:join(array, ";")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns the number of items in a collection, or the number of characters in a string.
|
||||
</description>
|
||||
<name>length</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>int length(java.lang.Object)</function-signature>
|
||||
<example>
|
||||
You have ${fn:length(shoppingCart.products)} in your shopping cart.
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a string resulting from replacing in an input string all occurrences
|
||||
of a "before" string into an "after" substring.
|
||||
</description>
|
||||
<name>replace</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:replace(text, "-", "•")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Splits a string into an array of substrings.
|
||||
</description>
|
||||
<name>split</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String[] split(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:split(customerNames, ";")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string starts with the specified prefix.
|
||||
</description>
|
||||
<name>startsWith</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean startsWith(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:startsWith(product.id, "100-")}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string.
|
||||
</description>
|
||||
<name>substring</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substring(java.lang.String, int, int)</function-signature>
|
||||
<example>
|
||||
P.O. Box: ${fn:substring(zip, 6, -1)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string following a specific substring.
|
||||
</description>
|
||||
<name>substringAfter</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substringAfter(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
P.O. Box: ${fn:substringAfter(zip, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string before a specific substring.
|
||||
</description>
|
||||
<name>substringBefore</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substringBefore(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Converts all of the characters of a string to lower case.
|
||||
</description>
|
||||
<name>toLowerCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String toLowerCase(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Product name: ${fn.toLowerCase(product.name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Converts all of the characters of a string to upper case.
|
||||
</description>
|
||||
<name>toUpperCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Product name: ${fn.UpperCase(product.name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Removes white spaces from both ends of a string.
|
||||
</description>
|
||||
<name>trim</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String trim(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Name: ${fn.trim(name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
</taglib>
|
66
webapp/web/WEB-INF/tlds/form.tld
Normal file
66
webapp/web/WEB-INF/tlds/form.tld
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
|
||||
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
|
||||
<taglib>
|
||||
<tlibversion>1.0</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>Vitro Editing Form Library</shortname>
|
||||
<info>
|
||||
This tag library contains tags for constructing vitro
|
||||
editing forms. The tag names shadow html elements
|
||||
but provide additional attributes for specifying
|
||||
how dynamic content should be retrieved from persistent
|
||||
storage.
|
||||
</info>
|
||||
|
||||
<tag>
|
||||
<name>option</name>
|
||||
<tagclass>edu.cornell.mannlib.vedit.tags.OptionTag</tagclass>
|
||||
<bodycontent>empty</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>value</name>
|
||||
<tagclass>edu.cornell.mannlib.vedit.tags.ValueTag</tagclass>
|
||||
<bodycontent>empty</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>dynamicFields</name>
|
||||
<tagclass>edu.cornell.mannlib.vedit.tags.DynamicFieldsTag</tagclass>
|
||||
<bodycontent>empty</bodycontent>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>usePage</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>error</name>
|
||||
<tagclass>edu.cornell.mannlib.vedit.tags.ErrorTag</tagclass>
|
||||
<bodycontent>empty</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
279
webapp/web/WEB-INF/tlds/sparqltag.tld
Normal file
279
webapp/web/WEB-INF/tlds/sparqltag.tld
Normal file
|
@ -0,0 +1,279 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<!-- $Id: sparql.tld,v 1.2 2006/08/06 19:50:30 Dave Exp $ -->
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
|
||||
<description></description>
|
||||
<display-name>SPARQL JSP taglib</display-name>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<short-name>sparql</short-name>
|
||||
<uri>http://djpowell.net/tmp/sparql-tag/0.1/</uri>
|
||||
|
||||
<!-- <sparql:sparql> -->
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
<![CDATA[
|
||||
<p><b>SPARQL container tag.</b></p>
|
||||
<p>This tag must be placed around sparql:select tags to
|
||||
ensure that the live ResultSet's gets closed,
|
||||
when this tag goes out of scope.
|
||||
]]>
|
||||
</description>
|
||||
<display-name>SPARQL container tag</display-name>
|
||||
<name>sparql</name>
|
||||
<tag-class>net.djpowell.sparqltag.SparqlTag</tag-class>
|
||||
<body-content>scriptless</body-content>
|
||||
</tag>
|
||||
|
||||
<!-- <sparql:lock> -->
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Obtains a lock or transaction on a model until the tag is closed.
|
||||
</description>
|
||||
<display-name>SPARQL lock tag</display-name>
|
||||
<name>lock</name>
|
||||
<tag-class>net.djpowell.sparqltag.LockTag</tag-class>
|
||||
<tei-class>net.djpowell.sparqltag.LockTagInfo</tei-class>
|
||||
<body-content>scriptless</body-content>
|
||||
|
||||
<attribute>
|
||||
<description>The model to lock, or execute in a transaction</description>
|
||||
<name>model</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>com.hp.hpl.jena.rdf.model.Model</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description>
|
||||
Indicates whether transactions should be used instead of
|
||||
critical sections.
|
||||
</description>
|
||||
<name>transactions</name>
|
||||
<!-- default is false -->
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description>
|
||||
If critical sections are being used, indicates whether a
|
||||
read lock is sufficient, or whether a write-lock is required.
|
||||
The default is true, meaning a read-lock.
|
||||
</description>
|
||||
<name>readonly</name>
|
||||
<!-- default is true-->
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
</tag>
|
||||
|
||||
<!-- <sparql:load> -->
|
||||
|
||||
<tag>
|
||||
<description>SPARQL load tag. Convenience tag for creating a new model from an RDF/XML URI.</description>
|
||||
<display-name>SPARQL load tag</display-name>
|
||||
<name>load</name>
|
||||
<tag-class>net.djpowell.sparqltag.LoadTag</tag-class>
|
||||
<tei-class>net.djpowell.sparqltag.LoadTagInfo</tei-class>
|
||||
<body-content>empty</body-content>
|
||||
|
||||
<variable>
|
||||
<name-from-attribute>var</name-from-attribute>
|
||||
<variable-class>com.hp.hpl.jena.rdf.model.Model</variable-class>
|
||||
<scope>AT_END</scope>
|
||||
</variable>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>uri</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
</tag>
|
||||
|
||||
<!-- <sparql:ask> -->
|
||||
|
||||
<tag>
|
||||
<description>SPARQL ask tag. (Must be nested inside sparql:sparql)</description>
|
||||
<display-name>SPARQL ask tag</display-name>
|
||||
<name>ask</name>
|
||||
<tag-class>net.djpowell.sparqltag.AskTag</tag-class>
|
||||
<body-content>tagdependent</body-content>
|
||||
|
||||
<variable>
|
||||
<description></description>
|
||||
<name-from-attribute>var</name-from-attribute>
|
||||
<variable-class>java.lang.Boolean</variable-class>
|
||||
<scope>AT_END</scope>
|
||||
</variable>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>model</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>com.hp.hpl.jena.rdf.model.Model</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<dynamic-attributes>true</dynamic-attributes>
|
||||
|
||||
<example>
|
||||
|
||||
</example>
|
||||
|
||||
</tag>
|
||||
|
||||
|
||||
<!-- <sparql:construct> -->
|
||||
|
||||
<tag>
|
||||
<description>SPARQL construct tag. (Must be nested inside sparql:sparql)</description>
|
||||
<display-name>SPARQL construct tag</display-name>
|
||||
<name>construct</name>
|
||||
<tag-class>net.djpowell.sparqltag.ConstructTag</tag-class>
|
||||
<body-content>tagdependent</body-content>
|
||||
|
||||
<variable>
|
||||
<name-from-attribute>var</name-from-attribute>
|
||||
<variable-class>com.hp.hpl.jena.rdf.model.Model</variable-class>
|
||||
<scope>AT_END</scope>
|
||||
</variable>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>model</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
<type>com.hp.hpl.jena.rdf.model.Model</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<dynamic-attributes>true</dynamic-attributes>
|
||||
|
||||
<example>
|
||||
|
||||
</example>
|
||||
|
||||
</tag>
|
||||
|
||||
|
||||
<!-- <sparql:describe> -->
|
||||
<tag>
|
||||
<description>SPARQL describe tag. (Must be nested inside sparql:sparql)</description>
|
||||
<display-name>SPARQL describe tag</display-name>
|
||||
<name>describe</name>
|
||||
<tag-class>net.djpowell.sparqltag.DescribeTag</tag-class>
|
||||
<body-content>tagdependent</body-content>
|
||||
|
||||
<variable>
|
||||
<name-from-attribute>var</name-from-attribute>
|
||||
<variable-class>com.hp.hpl.jena.rdf.model.Model</variable-class>
|
||||
<scope>AT_END</scope>
|
||||
</variable>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>model</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>com.hp.hpl.jena.rdf.model.Model</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<dynamic-attributes>true</dynamic-attributes>
|
||||
|
||||
<example>
|
||||
|
||||
</example>
|
||||
|
||||
</tag>
|
||||
|
||||
|
||||
<!-- <sparql:select> -->
|
||||
|
||||
<tag>
|
||||
<description>SPARQL select tag. (Must be nested inside sparql:sparql)</description>
|
||||
<display-name>SPARQL select tag</display-name>
|
||||
<name>select</name>
|
||||
<tag-class>net.djpowell.sparqltag.SelectTag</tag-class>
|
||||
<body-content>tagdependent</body-content>
|
||||
|
||||
<variable>
|
||||
<name-from-attribute>var</name-from-attribute>
|
||||
<variable-class>net.djpowell.sparqltag.SelectTag.RSWrapper</variable-class>
|
||||
<!-- .rows = is an Iterator of QuerySolution -->
|
||||
<scope>AT_END</scope>
|
||||
</variable>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>model</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>com.hp.hpl.jena.rdf.model.Model</type>
|
||||
</attribute>
|
||||
|
||||
<attribute>
|
||||
<description></description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
|
||||
<dynamic-attributes>true</dynamic-attributes>
|
||||
|
||||
<example>
|
||||
|
||||
</example>
|
||||
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
|
||||
<!--
|
||||
Revision history
|
||||
$Log: sparql.tld,v $
|
||||
Revision 1.2 2006/08/06 19:50:30 Dave
|
||||
Tidied up build
|
||||
|
||||
|
||||
-->
|
254
webapp/web/WEB-INF/tlds/taglibs-mailer.tld
Normal file
254
webapp/web/WEB-INF/tlds/taglibs-mailer.tld
Normal file
|
@ -0,0 +1,254 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
|
||||
<taglib>
|
||||
<tlibversion>1.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>mailer</shortname>
|
||||
<uri>http://jakarta.apache.org/taglibs/mailer-1.1</uri>
|
||||
<info>This custom tag library is used to send e-mail.E-mail can be sent in three ways. The first way requires the name of the
|
||||
SMTP host to use. The second requires the name of a JNDI Resource for a
|
||||
JavaMail Session. The third requires the name of a JNDI Resource for a
|
||||
JavaMail MimePartDataSource. Refer to your servlet container documentation
|
||||
to determine which of these three methods you should use. During the
|
||||
creation of an e-mail message, the addresses are checked for the correct
|
||||
format. After the e-mail message has been created the send tag spawns a
|
||||
thread to send the message in the background so that the user does not have
|
||||
to wait for the SMTP host if it is busy.
|
||||
|
||||
<!-- Create a message by entering the name of the SMTP host. -->
|
||||
<!-- The default for this attribute is localhost; for a host other -->
|
||||
<!-- than localhost supply it's name with the server attribute -->
|
||||
<!-- as in the example below. The body of the e-mail is supplied in the -->
|
||||
<!-- message tag. The send tag is necessary to send the message. -->
|
||||
<mt:mail server="home.net" to="foo@home.net"
|
||||
from="bar@home.net" subject="mail taglib">
|
||||
<mt:message>[body of message]</mt:message>
|
||||
<mt:send/>
|
||||
</mt:mail>
|
||||
|
||||
<!-- Using a JNDI named JavaMail Session object defined by the -->
|
||||
<!-- session attribute. -->
|
||||
<mt:mail session="java:/comp/env/session" to="foo@home.net"
|
||||
from="bar@home.net" subject="mail taglib">
|
||||
<mt:message>[body of message]</mt:message>
|
||||
<mt:send/>
|
||||
</mt:mail>
|
||||
|
||||
<!-- Or using a JNDI named JavaMail MimePartDataSource object -->
|
||||
<!-- defined by mimeMessage attribute. -->
|
||||
<mt:mail mimeMessage="java:/comp/env/message" to="foo@home.net"
|
||||
from="bar@home.net" subject="mail taglib">
|
||||
<mt:message>[body of message]</mt:message>
|
||||
<mt:send/>
|
||||
</mt:mail>
|
||||
How e-mail is delivered depends on the JavaMail SMTP host settings. The
|
||||
JavaMail SMTP host can be configured by your Servlet Container so that
|
||||
bounced or undeliverable e-mails are returned to the sender by setting the
|
||||
folowing properties.NameTypeDescriptionmail.smtp.dsn.notifyStringProperty determines if the user will be notified of undeliverable mail.
|
||||
Either NEVER, or some combination of SUCCESS, FAILURE, and DELAY
|
||||
(separated by commas).
|
||||
mail.smtp.dsn.retStringDetermines what part of the undeliverable message will be returned in
|
||||
the message to the sender. Either FULL or HDRS.
|
||||
mail.smtp.sendpartialboolean
|
||||
If set to true, and a message has some valid and some invalid addresses,
|
||||
send the message anyway, reporting the partial failure with a
|
||||
SendFailedException. If set to false (the default), the message is not
|
||||
sent to any of the recipients if there is an invalid recipient address.
|
||||
</info>
|
||||
<tag>
|
||||
<name>mail</name>
|
||||
<tagclass>org.apache.taglibs.mailer.MailTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>server</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>yes</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>session</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>mimeMessage</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>authenticate</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>user</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>yes</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>password</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>yes</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>to</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>replyTo</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>from</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cc</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>bcc</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>subject</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>server</name>
|
||||
<tagclass>org.apache.taglibs.mailer.ServerTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>message</name>
|
||||
<tagclass>org.apache.taglibs.mailer.MessageTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>header</name>
|
||||
<tagclass>org.apache.taglibs.mailer.HeaderTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>setrecipient</name>
|
||||
<tagclass>org.apache.taglibs.mailer.SetRecipientTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>address</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>addrecipient</name>
|
||||
<tagclass>org.apache.taglibs.mailer.AddRecipientTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>address</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>replyto</name>
|
||||
<tagclass>org.apache.taglibs.mailer.ReplyToTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>from</name>
|
||||
<tagclass>org.apache.taglibs.mailer.FromTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>attach</name>
|
||||
<tagclass>org.apache.taglibs.mailer.AttachTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>file</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>url</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>subject</name>
|
||||
<tagclass>org.apache.taglibs.mailer.SubjectTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>send</name>
|
||||
<tagclass>org.apache.taglibs.mailer.SendTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>error</name>
|
||||
<tagclass>org.apache.taglibs.mailer.ErrorTag</tagclass>
|
||||
<teiclass>org.apache.taglibs.mailer.ErrorTEI</teiclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
88
webapp/web/WEB-INF/tlds/taglibs-random.tld
Normal file
88
webapp/web/WEB-INF/tlds/taglibs-random.tld
Normal file
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
|
||||
<taglib>
|
||||
<tlibversion>1.0.2</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>random</shortname>
|
||||
<uri>http://jakarta.apache.org/taglibs/random-1.0</uri>
|
||||
<info>
|
||||
The Random tag library creates random strings and random numbers. You may
|
||||
specify a set of allowable characters as well as the length for randomly
|
||||
generated strings. You may specify a range of allowable integers or a
|
||||
random floating point number between zero and one for randomly generated
|
||||
numbers. </info>
|
||||
<tag>
|
||||
<name>string</name>
|
||||
<tagclass>org.apache.taglibs.random.RandomStrgTag</tagclass>
|
||||
<teiclass>org.apache.taglibs.random.RandomStrgTEI</teiclass>
|
||||
<bodycontent>Empty</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>length</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>map</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>charset</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>algorithm</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>provider</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>number</name>
|
||||
<tagclass>org.apache.taglibs.random.RandomNumTag</tagclass>
|
||||
<teiclass>org.apache.taglibs.random.RandomNumTEI</teiclass>
|
||||
<bodycontent>Empty</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>range</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>algorithm</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>provider</name>
|
||||
<required>no</required>
|
||||
<rtexprvalue>no</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
743
webapp/web/WEB-INF/tlds/taglibs-string.tld
Normal file
743
webapp/web/WEB-INF/tlds/taglibs-string.tld
Normal file
|
@ -0,0 +1,743 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
|
||||
<taglib>
|
||||
<tlibversion>1.1.0</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>string</shortname>
|
||||
<uri>http://jakarta.apache.org/taglibs/string-1.1</uri>
|
||||
<info>
|
||||
The String taglibrary provides a host of tags for manipulating
|
||||
java.lang.Strings. The style is that the String to act upon is the
|
||||
body of the tag, and attributes are used as parameters for the
|
||||
manipulation.
|
||||
</info>
|
||||
<tag>
|
||||
<name>length</name>
|
||||
<tagclass>org.apache.taglibs.string.LengthTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>capitalize</name>
|
||||
<tagclass>org.apache.taglibs.string.CapitalizeTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>uncapitalize</name>
|
||||
<tagclass>org.apache.taglibs.string.UncapitalizeTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>upperCase</name>
|
||||
<tagclass>org.apache.taglibs.string.UpperCaseTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>lowerCase</name>
|
||||
<tagclass>org.apache.taglibs.string.LowerCaseTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>trim</name>
|
||||
<tagclass>org.apache.taglibs.string.TrimTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>chop</name>
|
||||
<tagclass>org.apache.taglibs.string.ChopTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>chopNewline</name>
|
||||
<tagclass>org.apache.taglibs.string.ChopNewlineTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>escape</name>
|
||||
<tagclass>org.apache.taglibs.string.EscapeTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>reverse</name>
|
||||
<tagclass>org.apache.taglibs.string.ReverseTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>swapCase</name>
|
||||
<tagclass>org.apache.taglibs.string.SwapCaseTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>soundex</name>
|
||||
<tagclass>org.apache.taglibs.string.SoundexTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>metaphone</name>
|
||||
<tagclass>org.apache.taglibs.string.MetaphoneTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>quoteRegexp</name>
|
||||
<tagclass>org.apache.taglibs.string.QuoteRegexpTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>capitalizeAllWords</name>
|
||||
<tagclass>org.apache.taglibs.string.CapitalizeAllWordsTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>removeXml</name>
|
||||
<tagclass>org.apache.taglibs.string.RemoveXmlTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>encodeUrl</name>
|
||||
<tagclass>org.apache.taglibs.string.EncodeUrlTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>decodeUrl</name>
|
||||
<tagclass>org.apache.taglibs.string.DecodeUrlTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>count</name>
|
||||
<tagclass>org.apache.taglibs.string.CountTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>set</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>delete</name>
|
||||
<tagclass>org.apache.taglibs.string.DeleteTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>set</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>squeeze</name>
|
||||
<tagclass>org.apache.taglibs.string.SqueezeTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>set</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>center</name>
|
||||
<tagclass>org.apache.taglibs.string.CenterTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>width</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>rightPad</name>
|
||||
<tagclass>org.apache.taglibs.string.RightPadTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>width</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>leftPad</name>
|
||||
<tagclass>org.apache.taglibs.string.LeftPadTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>width</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>chomp</name>
|
||||
<tagclass>org.apache.taglibs.string.ChompTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>getChomp</name>
|
||||
<tagclass>org.apache.taglibs.string.GetChompTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>prechomp</name>
|
||||
<tagclass>org.apache.taglibs.string.PrechompTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>getPrechomp</name>
|
||||
<tagclass>org.apache.taglibs.string.GetPrechompTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>strip</name>
|
||||
<tagclass>org.apache.taglibs.string.StripTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>stripEnd</name>
|
||||
<tagclass>org.apache.taglibs.string.StripEndTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>stripStart</name>
|
||||
<tagclass>org.apache.taglibs.string.StripStartTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>reverseDelimitedString</name>
|
||||
<tagclass>org.apache.taglibs.string.ReverseDelimitedStringTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>overlay</name>
|
||||
<tagclass>org.apache.taglibs.string.OverlayTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>with</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>start</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>substring</name>
|
||||
<tagclass>org.apache.taglibs.string.SubstringTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>start</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>repeat</name>
|
||||
<tagclass>org.apache.taglibs.string.RepeatTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>count</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>wordWrap</name>
|
||||
<tagclass>org.apache.taglibs.string.WordWrapTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>width</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>split</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>delimiterInside</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>nestedString</name>
|
||||
<tagclass>org.apache.taglibs.string.NestedStringTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>open</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>close</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>countMatches</name>
|
||||
<tagclass>org.apache.taglibs.string.CountMatchesTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>substring</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>default</name>
|
||||
<tagclass>org.apache.taglibs.string.DefaultTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>replace</name>
|
||||
<tagclass>org.apache.taglibs.string.ReplaceTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>replace</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>with</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>count</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>newlineToken</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>carriageToken</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>randomString</name>
|
||||
<tagclass>org.apache.taglibs.string.RandomStringTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>count</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>start</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>left</name>
|
||||
<tagclass>org.apache.taglibs.string.LeftTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>count</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>right</name>
|
||||
<tagclass>org.apache.taglibs.string.RightTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>count</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>mid</name>
|
||||
<tagclass>org.apache.taglibs.string.MidTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>start</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>count</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>truncateNicely</name>
|
||||
<tagclass>org.apache.taglibs.string.TruncateNicelyTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>lower</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>upper</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>appendToEnd</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>join</name>
|
||||
<tagclass>org.apache.taglibs.string.JoinTag</tagclass>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<attribute>
|
||||
<name>items</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>separator</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>split</name>
|
||||
<tagclass>org.apache.taglibs.string.SplitTag</tagclass>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>separator</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
222
webapp/web/WEB-INF/tlds/vitroForm.tld
Normal file
222
webapp/web/WEB-INF/tlds/vitroForm.tld
Normal file
|
@ -0,0 +1,222 @@
|
|||
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
|
||||
|
||||
<description></description>
|
||||
<display-name>SPARQL JSP taglib</display-name>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
|
||||
<short-name>Vitro DAO access Form Library</short-name>
|
||||
<!--
|
||||
This library has tags for extracting information from
|
||||
the vitro dao and formating it into commonly used html
|
||||
structures.
|
||||
|
||||
It is unrelated to the vedit form.tld
|
||||
-->
|
||||
|
||||
<tag>
|
||||
<name>optionsForProperty</name>
|
||||
<display-name>Options For Property</display-name>
|
||||
<description>
|
||||
Create the option elements for a specified subject and predicate.
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.OptionsForPropertyTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>subjectUri</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>predicateUri</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>selectedUri</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<name>optionsForVClass</name>
|
||||
<display-name>Options For VClass</display-name>
|
||||
<description>
|
||||
Create the option elements for a specified vitro class.
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.OptionsForClassTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>classUri</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>selectedUri</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<name>option</name>
|
||||
<display-name>Options for Form Field</display-name>
|
||||
<description>
|
||||
Create the option elements for a specified field using information in the
|
||||
editConfiguration to build the list and the editSubmission to mark one
|
||||
of the options as selected.
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.Options</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>jsonset</name>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.JsonSet</tag-class>
|
||||
<body-content>scriptless</body-content>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>value</name>
|
||||
<display-name>value for a Form Field</display-name>
|
||||
<description>
|
||||
If there is a value in a edit submission object that matches the name,
|
||||
Then output that value. otherwise, output nothing
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.Value</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<name>errorMessage</name>
|
||||
<display-name>errorMessage value for a Form Field</display-name>
|
||||
<description>
|
||||
If there is a value in a edit submission.validation object that matches the name,
|
||||
Then output that value. otherwise, output nothing
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.ErrorMessage</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>input</name>
|
||||
<display-name>Input Element Formatting</display-name>
|
||||
<description>
|
||||
Format a form input element of a specified element type
|
||||
</description>
|
||||
<tag-class>edu.cornell.mannlib.vitro.webapp.web.jsptags.InputElementFormattingTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>label</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>labelClass</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cssClass</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>error</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>size</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>rows</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cols</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>multiple</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>listMarkup</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cancel</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cancelLabel</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>cancelUrl</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>disabled</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
Loading…
Add table
Add a link
Reference in a new issue