continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r447483 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editSchedule.jsp
Date Mon, 18 Sep 2006 17:43:11 GMT
Author: carlos
Date: Mon Sep 18 10:43:10 2006
New Revision: 447483

URL: http://svn.apache.org/viewvc?view=rev&rev=447483
Log:
Don't use extra page for errors

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editSchedule.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editSchedule.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editSchedule.jsp?view=diff&rev=447483&r1=447482&r2=447483
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editSchedule.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/editSchedule.jsp
Mon Sep 18 10:43:10 2006
@@ -1,3 +1,4 @@
+<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
 <%@ taglib uri="/webwork" prefix="ww" %>
 <%@ taglib uri="continuum" prefix="c1" %>
 <html>
@@ -12,6 +13,13 @@
 
     <div class="axial">
       <ww:form action="saveSchedule" method="post">
+        <c:if test="${!empty actionErrors}">
+          <div class="errormessage">
+            <c:forEach items="${actionErrors}" var="actionError">
+              <p><ww:text name="${actionError}"/></p>
+            </c:forEach>
+          </div>
+        </c:if>
         <ww:hidden name="id"/>
           <table>
             <ww:textfield label="%{getText('schedule.name.label')}" name="name" required="true">



Mime
View raw message