<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/tairtags.tld" prefix="tair" %> <%@ taglib uri="/WEB-INF/input.tld" prefix="input"%> <%@ page import="java.util.*" %> <%@ page import="pub.beans.* , pub.utils.StringUtils" %> <%-- Note: this page is tied to the DisplayAnnotation.jsp page, and we expect certain things in the request object as a result of doing a DisplayAnnotation. In particular, the javascript function evidenceDescriptionCallbackHelper() comes from DisplayAnnotation.jsp. --%> <% pub.beans.TermBean term_bean = (pub.beans.TermBean) request.getAttribute("term_bean"); %> <%@ page import="pub.beans.*, pub.servlets.*, pub.db.*" %> <% Map relationShips = (Map) request.getAttribute("relationShips"); String annotationStatus = (String) request.getAttribute("vectorType"); String type = (String) request.getAttribute("type"); %> <% String relationship = "updateAnnotation_"+annotationId+"_"+"relation"; String sourceTableId = "updateAnnotation_"+annotationId+"_sourceTableId"; String sourceTable = "updateAnnotation_"+annotationId+"_sourceTable"; String evidenceType = "updateAnnotation_"+annotationId+"_"+"evidenceType"; String evidenceDesc = "updateAnnotation_"+annotationId+"_"+"evidenceDesc"; String evidenceWith = "updateAnnotation_"+annotationId+"_"+"evidenceWith"; String isTemp = "updateAnnotation_"+annotationId+"_"+"isTemp"; String isObsolete= "updateAnnotation_"+annotationId+"_"+"isObsolete"; String replacedBy = "updateAnnotation_"+annotationId+"_"+"replacedBy"; %> > > <% if (annotation.getObjectTermBean().getType().equalsIgnoreCase("gene") ){ %> > <% } %>
Relationship <% String relation=annotation.getRelationshipTypeId(); if (relation.equals("0")){ relation=""; } %>  
<%= annotation.getTermName() %>
<% if ( ! StringUtils.isEmpty( annotation.getObjectTermBean().getExternalId() )){ %> (<%= annotation.getObjectTermBean().getExternalId() %>) <% }else { %>   <% } %>
Replace Term (term/go id )
<%= annotation.getObjectTermBean().getGene_summary() %>
>
Evidence: Evidence Type Description
> <% if (type.equalsIgnoreCase("active") ) { %> <% } else{ %> <% } %>
Evidence With
Reference <% if( pub_ref.isEmpty().equals("y")){ %> No Reference <% }else{ %> <%= pub_ref.getTableName() %><%-- --%>: <% } %> Annotated by/ date
<%= user.getName() %> / <%= annotation.getDateAnnotated() %>
Updated by/ date
<%= updated_by.getName() %> / <%= annotation.getDateUpdated() %>
Obsolete?
Y N
Temporary?
Y N
Obsoleted by/ date
<%= thisuser.getName() %> / <%= annotation.getDateUpdated() %>
Obsolete?
Y N
<%-- testing --- perhaps we should make a separate page for editing annotations? (test environment) [edit] --%> <%-- Show a list of comments --%> > Comments Add Comment >