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 15:57:07 UTC
svn commit: r164788 -
/lenya/trunk/src/webapp/lenya/pubs/blog/lenya/usecases/site/create.jx
Author: jwkaltz
Date: Tue Apr 26 06:57:06 2005
New Revision: 164788
URL: http://svn.apache.org/viewcvs?rev=164788&view=rev
Log:
[minor change] use template for error messages
Modified:
lenya/trunk/src/webapp/lenya/pubs/blog/lenya/usecases/site/create.jx
Modified: lenya/trunk/src/webapp/lenya/pubs/blog/lenya/usecases/site/create.jx
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/blog/lenya/usecases/site/create.jx?rev=164788&r1=164787&r2=164788&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/lenya/usecases/site/create.jx (original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/lenya/usecases/site/create.jx Tue Apr 26 06:57:06 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.
@@ -28,32 +28,15 @@
<div class="lenya-box-title">
<i18n:text>New Entry</i18n:text>
</div>
+
+ <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')}"/>
<input type="hidden" name="doctype" value="entry"/>
<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 class="lenya-entry-caption">
<i18n:text>Entry ID</i18n:text>*: </td>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org