<%@ 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="pub.beans.*, pub.servlets.*, pub.db.*, pub.utils.*" %> <% pub.beans.ArticleBean article_bean = (pub.beans.ArticleBean) request.getAttribute("article_bean"); %> <% java.util.List relatedTermHits = (java.util.List) request.getAttribute("relatedTermHits"); %> <% java.util.List relatedGeneHits = (java.util.List) request.getAttribute("relatedGeneHits"); %> <% bgColor.next(); %>
Article Display/Update

Article Actions: "/>

> > <%-- Related articles block --%> <% if (article_bean.getRelatedArticleBeans().size() > 0) { %> > > <% } %> > > > > > > > > > > > > > > > > > > >
Title
Possibly related to:
Article ID Volume Year Page Start Issue Type
  <%= article_bean.getArticle_id() %>          
PubSource Publication ID
  # <%= article_bean.getPub_source_id() %> <%= StringUtils.htmlEntityQuote(article_bean.getPub_source_name()) %>  <%= article_bean.getPublication_id() %>
Scanned Date Scanned By Is Local Hard Is Downloaded Is Scanned
  Y N Y N Y N
Link Is Peer Reviewed IsPrintRef IsE-Ref Is Obsolete Replaced By (using article id)
  <% if (article_bean.getPdfLink(request) != null && article_bean.getPdfLink(request).length() > 0) { %> ( link ) <% } %>   <%= article_bean.getIs_peer_reviewed() %>   <%= article_bean.getIs_print_reference() %>   <%= article_bean.getIs_electronic_reference() %>   Y N
Authors
 
Abstract
  <%= StringUtils.htmlEntityQuote(article_bean.getArticle_abstract()) %>
Annotations
MedlineID BiosisID AgricolaID PubMedID PMCentralID PubReferenceID
<%= article_bean.getMedline_id() %>  <%= article_bean.getBiosis_id() %>  <% String agricola_id = article_bean.getAgricola_id() ; %> agricola  pubmed  <%= article_bean.getPubmed_central_id() %>  <%= article_bean.getPub_reference_id() %> 
   
Related terms:
    <% String previous_term_type = null; boolean new_type = true; for(int i = 0; i < relatedTermHits.size(); i++ ) { HitBean hit = (HitBean) relatedTermHits.get(i); TermBean term = hit.getTermBean(); String this_term_type = term.getType(); if ( previous_term_type != null && previous_term_type.equals( this_term_type)) { new_type = false; } %> <%= new_type? "
  • "+this_term_type: "" %> <%= term.getName() %>   <%= new_type?"
  • ": "" %> <% previous_term_type = this_term_type; new_type = true; } %>
Related genes:
  • <% for(int i = 0; i < relatedGeneHits.size(); i++ ) { HitBean hit = (HitBean) relatedGeneHits.get(i); TermBean term = hit.getTermBean(); %> <%= term.getName() %>   <% } %>
<%! public int min(int i, int j) { if (i < j) { return i; } return j; } %>