%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tairtags.tld" prefix="tair" %>
<% java.util.List rows = (java.util.List) request.getAttribute("rows"); %>
Results from Pub DB
Displaying <%= current_row %>
- <%= rows.size() + Integer.parseInt(current_row)- 1 %> out of
<%= max_rows %> hits.
<% int i = 0; %>
<% String bgcolor1, bgcolor2; %>
<% if (i % 2 == 0) {
bgcolor1 = "#F5F9FF";
bgcolor2 = "#D5D9DD";
}
else {
bgcolor1 = "#F5F9FF";
bgcolor2 = "#D5D9DD";
} %>
<% boolean has_gene_summary = false;
if ( term.isGene() && ! pub.utils.StringUtils.isEmpty( term.getGene_summary())){
has_gene_summary = true;
}
%>
bgcolor="<%= bgcolor1 %>" width="15%">
<%= term.getName() %>
<% if (term.getExternalId().length() > 0) { %>
(<%= term.getExternalId() %>)
<% } %>
|
<% if ( has_gene_summary){ %>
<%= term.getGene_summary() %> |
<% } %>
<%-- Here we display all the annotations to this term. --%>
Annotations of term as subject
<% try { %>
<% } catch (Exception e) {e.printStackTrace();} %>
|
Annotations of term as object
<% try { %>
<% } catch (Exception e) {e.printStackTrace();} %>
|
| |
<% i++; %>