<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/tairtags.tld" prefix="tair" %> <% java.util.List annotation_ids = (java.util.List) request.getAttribute("annotation_ids"); String base_url = (String) request.getAttribute("base_url"); int max_display_size = ((Integer)(request.getAttribute("max_display_size"))).intValue() ; int page_size = ((Integer)request.getAttribute("page_size")).intValue(); %> <% for (int i = 0; i < max_display_size; i++ ){ String annotation_id = (String)annotation_ids.get(i); %> <% } %>
<%= annotation_ids.size() %> Annotations <% if ( annotation_ids.size() > page_size && annotation_ids.size()> max_display_size ){ %> ( display first <%= page_size %> by default, click HERE to display ALL ) <% }else if ( annotation_ids.size() > page_size && annotation_ids.size() == max_display_size ) { %> Display FIRST <%= page_size %> <% } %>
<%= annotation.getSubjectTermName() %> <%= annotation.getRelationshipType() %> <%= annotation.getObjectTermName() %> (<%-- --%><%= object_term.getExternalId() %><%-- --%>) by <%= annotation.getEvidenceCode() %> : <%= annotation.getEvidenceDescription() %>
<% if( pub_ref.isEmpty().equals("y")){ %> No Reference <% }else{ %> Evidence from <%= pub_ref.getTitle() %> <% } %> <% if (annotation.getEvidenceWith() != null && annotation.getEvidenceWith().length() > 0 && !annotation.getEvidenceWith().equalsIgnoreCase("\\NULL")) { %> (Evidence with: <%= annotation.getEvidenceWith() %> ) <% } %>
annotated by/date: <%= user.getName() %>/<%= annotation.getDateAnnotated() %>