1 <%@page import="java.util.ArrayList"%>
2 <%@ page trimDirectiveWhitespaces="true"%>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
6 <%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
8 <h3>Dundee ProteoCache query result</h3>
9 <table border="1" style="border-collapse: collapse; white-space: nowrap">
11 <c:when test="${checkbox == 'AllProtein'}">
14 <th style="text-align: centre">Number of jobs</th>
15 <th style="text-align: left">Protein</th>
19 <c:forEach items="${result}" var="res">
21 <td>${res.totalId}</td>
23 style="text-align: left; border-buttom: dotted; font-family: monospace"><a
24 title="Click to view predictions"
25 href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search">${res.prot}</a>
33 <th style="text-align: centre">ID</th>
34 <th style="text-align: centre">Prediction</th>
38 <c:forEach items="${result}" var="res" varStatus="status">
40 <td rowspan="2">${res.id}</td>
41 <c:if test="${flag == 'whole'}">
43 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
44 value="${res.prot}" /></td>
46 <c:if test="${flag == 'part'}">
48 style="text-align: left; border-buttom: dotted; font-family: monospace">
49 <c:forEach items="${res.subProt}" var="seq">
51 <c:when test="${fn:contains(seq, prot)}">
52 <span style="background-color: blue">${seq}</span>
54 <c:otherwise>${seq}</c:otherwise>
62 style="text-align: left; border-top: hidden; font-family: monospace"><c:out
63 value="${res.jpred}" /></td>