<%@ 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.*" %> <%@ page import="pub.utils.*" %> <%-- Displays a list of articles as references, as well as buttons we can use to select an individual reference. We use callbacks to send info back to some ancestor window. --%> <%-- articles is a List of ArticleBeans that are related to this particular term.--%> <% pub.servlets.annotation.SelectReferenceHandler handler = (pub.servlets.annotation.SelectReferenceHandler) request.getAttribute("handler"); pub.beans.TermBean termBean = (pub.beans.TermBean) request.getAttribute("termBean"); java.util.List articles = (java.util.List) request.getAttribute("articles"); %> <%-- add a callback for selection. --%> <%-- add a callback for article title summary. --%> <%-- end javascript code --%>

Select article reference linked up with term '<%= termBean.getName() %>'

If the article you're using as reference is not listed below, you can enter the article id here.

<% for(int i = 0; i < articles.size(); i++) { pub.beans.ArticleBean article = (pub.beans.ArticleBean) articles.get(i); %> <% } %>
article_id <%= ""+article.getId() %>: (<%= article.getArticle_type() %>) <%= article.getName() %> (authors:<%= article.getAuthors() %>)