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
461ca300
Commit
461ca300
authored
Nov 07, 2014
by
Matija Obreza
Browse files
opensearch errors
parent
22651767
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/search/opensearch.jsp
View file @
461ca300
...
...
@@ -16,14 +16,16 @@
<opensearch:Query
role=
"request"
searchTerms=
"<c:out value="
${a}"
/>
" startPage="
<c:out
value=
"
${
pagedData
.
number
+
1
}
"
/>
" />
<c:if
test=
"
${
error
ne
null
}
"
>
<div
class=
"alert alert-warning"
>
<spring:message
code=
"search.search-query-failed"
arguments=
"
${
error
.
message
}
"
/>
</div>
<item>
<title>
Error
</title>
<description><spring:message
code=
"search.search-query-failed"
arguments=
"
${
error
.
message
}
"
/></description>
</item>
</c:if>
<c:if
test=
"
${
pagedData
eq
null
}
"
>
<div
class=
"alert alert-warning"
>
<spring:message
code=
"search.search-query-missing"
/>
</div>
<item>
<title>
Error
</title>
<description><spring:message
code=
"search.search-query-missing"
/></description>
</item>
</c:if>
<c:forEach
items=
"
${
pagedData
.
content
}
"
var=
"accession"
varStatus=
"status"
>
...
...
@@ -31,9 +33,12 @@
<title><c:out
value=
"
${
accession
.
acceNumb
}
"
/></title>
<link><c:url
value=
"/acn/id/${accession.id}"
/></link>
<description>
<
![
CDATA
[
<
b
><c:out
value=
"
${
accession
.
acceNumb
}
"
/></b>
(
<em><c:out
value=
"
${
accession
.
taxonomy
.
sciName
}
"
/></em>
),
<spring:message
code=
"accession.sampleStatus.${accession.sampStat}"
/>
<c:out
value=
"
${
accession
.
taxonomy
.
sciName
}
"
/>
<c:out
value=
"
${
accession
.
institute
.
code
}
"
/>
]]>
</description>
</item>
</c:forEach>
...
...
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