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>
22 <td style=" text-align: left; border-buttom: dotted; font-family: monospace"><a title="Click to view predictions" href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search">${res.prot}</a> </td>
29 <th style="text-align: centre">ID</th>
30 <th style="text-align: centre">Prediction</th>
34 <c:forEach items="${result}" var="res" varStatus="status">
36 <td rowspan="2">${res.id}</td>
37 <c:if test ="${flag == 'whole'}">
38 <td style=" text-align: left; border-buttom: dotted; font-family: monospace"><c:out value = "${res.prot}" /></td>
40 <c:if test ="${flag == 'part'}">
41 <td style=" text-align: left; border-buttom: dotted; font-family: monospace">
42 <c:forEach items="${res.subProt}" var="seq">
44 <c:when test="${fn:contains(seq, prot)}"><span style="background-color:blue">${seq}</span></c:when>
45 <c:otherwise>${seq}</c:otherwise>
52 <td style="text-align: left; border-top: hidden; font-family: monospace"><c:out value = "${res.jpred}" /></td>