<%@ 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; } %> <% if ( has_gene_summary){ %> <% } %> <%-- Here we display all the annotations to this term. --%> <% i++; %>
bgcolor="<%= bgcolor1 %>" width="15%"> <%= term.getName() %> <% if (term.getExternalId().length() > 0) { %>
(<%= term.getExternalId() %>) <% } %>
<% // a short name for display button String display_name = term.getName(); if ( term.getName().length() > 10 ){ display_name = term.getName().substring(0,9) + "..."; } %>
<%= term.getGene_summary() %>
Annotations of term as subject <% try { %> <% } catch (Exception e) {e.printStackTrace();} %>   Annotations of term as object <% try { %> <% } catch (Exception e) {e.printStackTrace();} %>