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:38:06 UTC

svn commit: r1679077 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp

Author: batkinson
Date: Tue May 12 20:38:06 2015
New Revision: 1679077

URL: http://svn.apache.org/r1679077
Log:
Migrated build def error page from jstl to struts tags.

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

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp?rev=1679077&r1=1679076&r2=1679077&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp Tue May 12 20:38:06 2015
@@ -18,26 +18,27 @@
   --%>
 
 <%@ taglib prefix="s" uri="/struts-tags" %>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-
 <html>
 <s:i18n name="localization.Continuum">
 <head>
   <title><s:text name="buildDefinitionError.page.title"/></title>
 </head>
-
 <body>
   <div id="h3">
     <h3><s:text name="buildDefinitionError.section.title"/></h3>
     <div class="errors">
-      <c:if test="${!empty actionErrors}">
+      <s:if test="hasActionErrors()">
         <div class="errormessage">
-          <s:iterator value="actionErrors">
-            <p><s:property/></p>
-          </s:iterator>
+          <s:actionerror/>
         </div>
-      </c:if>
+        <input type="button" value="Back" onClick="history.go(-1)">
+      </s:if>
     </div>
+    <s:if test="hasActionMessages()">
+      <div class="warningmessage">
+        <s:actionmessage/>
+      </div>
+    </s:if>
   </div>
 </body>
 </s:i18n>