You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jw...@apache.org on 2005/04/26 14:38:27 UTC
svn commit: r164779 - /lenya/trunk/src/webapp/lenya/usecases/search/search.jx
Author: jwkaltz
Date: Tue Apr 26 05:38:27 2005
New Revision: 164779
URL: http://svn.apache.org/viewcvs?rev=164779&view=rev
Log:
[minor change] use template for error messages.
Modified:
lenya/trunk/src/webapp/lenya/usecases/search/search.jx
Modified: lenya/trunk/src/webapp/lenya/usecases/search/search.jx
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecases/search/search.jx?rev=164779&r1=164778&r2=164779&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/search/search.jx (original)
+++ lenya/trunk/src/webapp/lenya/usecases/search/search.jx Tue Apr 26 05:38:27 2005
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
- Copyright 1999-2004 The Apache Software Foundation
+ Copyright 1999-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -29,28 +29,15 @@
<div class="lenya-box">
<div class="lenya-box-title">Search <jx:out value="${usecase.getParameter('publication')}"/></div>
- <div class="lenya-box-body">
+
+ <jx:import uri="templates/messages.jx"/>
+
+ <div class="lenya-box-body">
<form>
<input type="hidden" name="lenya.continuation" value="${continuation.id}"/>
<input type="hidden" name="lenya.usecase" value="${request.getParameter('lenya.usecase')}"/>
<table class="lenya-table-noborder">
- <tr>
- <td colspan="2">
- <ul>
- <jx:forEach var="message" items="${usecase.getErrorMessages()}">
- <li>
- <i18n:text><jx:out value="${message}"/></i18n:text>
- </li>
- </jx:forEach>
- <jx:forEach var="message" items="${usecase.getInfoMessages()}">
- <li>
- <i18n:text><jx:out value="${message}"/></i18n:text>
- </li>
- </jx:forEach>
- </ul>
- </td>
- </tr>
<tr>
<td><i18n:text>Search</i18n:text></td>
<td>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org