Migrated build def error page from jstl to struts tags.
git-svn-id: https://svn.apache.org/repos/asf/continuum/trunk@1679077 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp b/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp
index f4bbc24..4a47d35 100644
--- a/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp
+++ b/continuum-webapp/src/main/webapp/WEB-INF/jsp/error/buildDefinitionError.jsp
@@ -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>