<%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix="xtags" uri="http://jakarta.apache.org/taglibs/xtags-1.0" %> <%@ page import="edu.stanford.sulair.mjf.site.Constants" %> <%@ page import="edu.stanford.sulair.mjf.search.SearchConstants" %> <%@ page import="edu.stanford.sulair.mjf.favorites.FavoritesConstants" %> <% String query_params = (String)request.getQueryString(); String refererUrl = (String)request.getAttribute( Constants.SESSION_REFERER_URL ) != null ? (String)request.getAttribute( Constants.SESSION_REFERER_URL ) : ""; %> <%=request.getAttribute( Constants.SESSION_SEARCH_RESULTS_KEY )%>
  • <% if( refererUrl.contains( "search.action" ) ) { %> <% } else if( refererUrl.contains( "retrieveFavorites.action" ) ) { %> <% } else { %> <% } %>
  • <%=FavoritesConstants.SOURCE_DETAILS%> <%=FavoritesConstants.SOURCE_DETAILS%>
,
,
<% /* Set the user's XML search result parameter that is stored in the session to null. * It's crucial to set this to null here because a user could potentially use the * browser's back button to return to any previous page, including a previous search * results page. If the XML search results parameter contains, say, browse results, * and a user returns to a manuscript description search results page, the page won't * render correctly. */ request.setAttribute( Constants.SESSION_SEARCH_RESULTS_KEY, null ); %>