Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
b1cb5dc4
Commit
b1cb5dc4
authored
Dec 01, 2017
by
Maxym Borodenko
Browse files
BUG accession-turtle
parent
3dfd9b61
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/accession/details-turtle.jsp
View file @
b1cb5dc4
<%@ page
contentType=
"text/turtle;charset=UTF-8"
pageEncoding=
"UTF-8"
language=
"java"
session=
"false"
%><%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%><%@ taglib
prefix=
"security"
uri=
"http://www.springframework.org/security/tags"
%><%@ taglib
prefix=
"spring"
uri=
"http://www.springframework.org/tags"
%><%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%@ page
contentType=
"text/turtle;charset=UTF-8"
pageEncoding=
"UTF-8"
language=
"java"
session=
"false"
%>
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"security"
uri=
"http://www.springframework.org/security/tags"
%>
<%@ taglib
prefix=
"spring"
uri=
"http://www.springframework.org/tags"
%>
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<%@ taglib
prefix=
"local"
tagdir=
"/WEB-INF/tags"
%>
<%@ taglib
prefix=
"fn"
uri=
"http://java.sun.com/jsp/jstl/functions"
%>
@prefix rdf:
<http:
//www.w3.org/1999/02/22-rdf-syntax-ns#
>
.
@prefix wgs84_pos:
<http:
//www.w3.org/2003/01/geo/wgs84_pos#
>
.
...
...
@@ -12,7 +16,16 @@
@prefix germplasm:
<http:
//purl.org/germplasm/germplasmTerm#
>
.
@prefix germplasmType:
<http:
//purl.org/germplasm/germplasmType#
>
.
<<local:accession-details-url
accession=
"${accession.id}"
/>>
<c:set
var =
"accessionDetailUrl"
value=
""
/>
<c:choose>
<c:when
test=
"
${
accession
.
doi
ne
null
}
"
>
<c:set
var =
"accessionDetailUrl"
value =
"/${accession.doi}"
/>
</c:when>
<c:otherwise>
<c:set
var =
"accessionDetailUrl"
value =
"/acn/id/${accession.id}"
/>
</c:otherwise>
</c:choose>
<
${
baseUrl
}
<c:out
value=
"
${
fn:
trim
(
accessionDetailUrl
)
}
"
/>>
a germplasm:GermplasmAccession;
germplasm:germplasmID "
<c:out
value=
"
${
accession
.
id
}
"
/>
";
dc:identifier "urn:uuid:
<c:out
value=
"
${
accession
.
uuid
}
"
/>
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment