<%-- Copyright (c) 2000, 2004 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/cpl-v10.html Contributors: IBM Corporation - initial API and implementation IBM Help modification : 2004/10/26 - Updated by luyi for HPSYS00000198 --%> <%@ include file="header.jsp"%> <% SearchData data = new SearchData(application, request, response); // After each search we preserve the scope (working set), if any // this need to be at the beginning, otherwise cookie is not written if (data.isSearchRequest()) data.saveScope(); WebappPreferences prefs = data.getPrefs(); %> <%=ServletResources.getString("SearchResults", request)%> <% if (!data.isSearchRequest()) { out.write(ServletResources.getString("doSearch", request)); } else if (data.getQueryExceptionMessage()!=null) { out.write(data.getQueryExceptionMessage()); } else if (data.isProgressRequest()) { %>
<%=ServletResources.getString("Indexing", request)%>
<%=data.getIndexedPercentage()%>% <%=ServletResources.getString("complete", request)%>

<%=ServletResources.getString("IndexingPleaseWait", request)%>
<% return; } else if (data.getResultsCount() == 0){ out.write(ServletResources.getString("Nothing_found", request)); } else { %> <% for (int topic = 0; topic < data.getResultsCount(); topic++) { if(data.isActivityFiltering() && !data.isEnabled(topic)){ continue; } %> <% } %>
<%=data.getTopicScore(topic)%> <%=data.getTopicLabel(topic)%>
<% } %>