anchor.diff:  <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  +<%@ page import="ae3.service.GeneListCacheService" %>
   <%@ page import="ae3.service.structuredquery.AutoCompleteItem" %>
  -<%@ page import="ae3.service.GeneListCacheService" %>
  +<%@ page import="org.slf4j.Logger" %>
  +<%@ page import="org.slf4j.LoggerFactory" %>
   <%@ page import="uk.ac.ebi.gxa.web.Atlas" %>
   <%@ page import="java.util.Collection" %>
   <%@ taglib uri="http://ebi.ac.uk/ae3/functions" prefix="u" %>
   <%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/functions" %>
   <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  +<%!
  +    private Logger log = LoggerFactory.getLogger(this.getClass());
  +%>
   <%--
     ~ Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute
     ~
  
positive.code:     </c:forEach>
  
      <%
          String s = request.getRequestURI();
  
          if(null == prefix)
                 prefix = "a";
          
          String NextURL = "index.htm?start="+prefix+"&rec="+Integer.toString(GeneListCacheService.PAGE_SIZE) ;
  
          boolean more = (genes.size() > (GeneListCacheService.PAGE_SIZE -1)) & (rec ==null);
  
          //AZ:2009-07-23:it can be less unique gene names then requested PageSize => cut corner and add "more" always.          
          more = true;
  
          request.setAttribute("more",more);
      %>
  
      <c:if test="${more}">
  
negative.code:   ~
    ~ http://gxa.github.com/gxa
    --%>
  <jsp:useBean id="atlasStatistics" type="uk.ac.ebi.microarray.atlas.model.AtlasStatistics" scope="application"/>
  <jsp:useBean id="atlasProperties" type="uk.ac.ebi.gxa.properties.AtlasProperties" scope="application"/>
  
  <%
      String rec = request.getParameter("rec");
      String prefix = request.getParameter("start");
  
      if (null == prefix)
          prefix = "a";
  
      int recordCount = GeneListCacheService.PAGE_SIZE;
  
      //if anything passed in "rec=" URL param - retrieve all, otherwise - first PageSize
      if (null != rec) {
          recordCount = 100000;
      }
  
      GeneListCacheService geneListServlet = (GeneListCacheService) application.getAttribute(Atlas.GENES_CACHE.key());
      Collection<AutoCompleteItem> genes;
      try {
          genes = geneListServlet.getGenes(prefix, recordCount);
          request.setAttribute("Genes", genes);
      } catch (Exception e) {
          log.error("Cannot retrieve genes: " + e.getMessage(), e);
      }
  %>
  
  