You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ba...@apache.org on 2015/05/12 22:37:59 UTC

svn commit: r1679075 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/releaseError.jsp

Author: batkinson
Date: Tue May 12 20:37:58 2015
New Revision: 1679075

URL: http://svn.apache.org/r1679075
Log:
Migrated release error page from jstl to struts tags.

Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/releaseError.jsp

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/releaseError.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/releaseError.jsp?rev=1679075&r1=1679074&r2=1679075&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/releaseError.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/releaseError.jsp Tue May 12 20:37:58 2015
@@ -18,7 +18,6 @@
   --%>
 
 <%@ taglib prefix="s" uri="/struts-tags" %>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 
 <html>
 <s:i18n name="localization.Continuum">
@@ -29,15 +28,16 @@
 <body>
   <div id="h3">
     <h3><s:text name="releaseError.section.title"/></h3>
-    <div class="errors">
-      <c:if test="${!empty actionErrors}">
-        <div class="errormessage">
-          <s:iterator value="actionErrors">
-            <p><s:property/></p>
-          </s:iterator>
-        </div>
-      </c:if>
-    </div>
+    <s:if test="hasActionErrors()">
+      <div class="errormessage">
+        <s:actionerror/>
+      </div>
+    </s:if>
+    <s:if test="hasActionMessages()">
+      <div class="warningmessage">
+        <s:actionmessage/>
+      </div>
+    </s:if>
   </div>
 </body>
 </s:i18n>