/[Apache-SVN]/lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp
ViewVC logotype

Diff of /lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp	2006/05/02 18:26:31	399001
+++ lucene/nutch/trunk/contrib/web2/src/main/webapp/WEB-INF/jsp/header.jsp	2006/05/02 18:26:46	399002
@@ -2,18 +2,18 @@
 <tiles:useAttribute name="title" ignore="true"
 	classname="java.lang.String" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title><bean:message name="title" /><logic:present name="nutchSearch"> - <bean:write
-		name="nutchSearch" property="queryString" />
-</logic:present></title>
+<title><fmt:message key="${title}" /><c:if test="${nutchSearch!=null}"> - <c:out
+		value="${nutchSearch.queryString}" />
+</c:if></title>
 <link rel="icon" href="img/favicon.ico" type="image/x-icon" />
 <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
 <tiles:insert name="style" />
-<logic:present name="nutchSearch">
+<c:if test="${nutchSearch!=null}">
 	<link rel="alternate" type="application/rss+xml" title="RSS"
-		href="opensearch?query=<bean:write name="nutchSearch" property="queryString"/>" />
+		href="opensearch?query=<c:out value="${nutchSearch.queryString}"/>" />
 	<script type="text/javascript">
     <!--
 function queryfocus() { document.search.query.focus(); }
 // -->
 </script>
-</logic:present>
+</c:if>

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26