create ProteinBean
[proteocache.git] / webapp / view / reportProteinSequences.jsp
index 8bc1213..db6837b 100644 (file)
                                                </thead>
                                                <tbody>
                                                        <c:forEach items="${results}" var="res" varStatus="status">
-                                                               <c:set var="ann" value="${res.predictions}" />
+                                                               <c:forEach items="${res.jobid}" var="id" varStatus="status">
                                                                <tr>
-                                                                       <th rowspan="${ann.mapsize + 2}"><a
+                                                                       <th rowspan="${res.size + 2}"><a
                                                                                title="Click to view the job log"
-                                                                               href="${jobquery}?IdJob=${res.id}">${res.id}</a></th>
+                                                                               href="${jobquery}?IdJob=${id}">${id}</a></th>
                                                                </tr>
                                                                <tr>
                                                                        <td
@@ -62,7 +62,7 @@
                                                                        <c:if test="${flag == 'whole'}">
                                                                                <td
                                                                                        style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
-                                                                                               value="${res.prot}" /></td>
+                                                                                               value="${res.sequence}" /></td>
                                                                        </c:if>
                                                                        <c:if test="${flag == 'part'}">
                                                                                <td
@@ -77,7 +77,7 @@
                                                                                </td>
                                                                        </c:if>
                                                                </tr>
-                                                               <c:forEach items="${ann.predictions}" var="seq"
+                                                               <c:forEach items="${res.predictions}" var="seq"
                                                                        varStatus="status">
                                                                        <tr>
                                                                                <td
@@ -89,6 +89,7 @@
                                                                        </tr>
                                                                </c:forEach>
                                                        </c:forEach>
+                                                       </c:forEach>
                                                </tbody>
                                        </table>
                                </div>