<%-- 
    Document   : errormessages
    Created on : 2007.12.29., 18:31:30
    Author     : attila
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="/spring" %>

<c:if test="${nmailErrors.error}">
<div class="error_box">
    <c:if test='${nmailErrors.errorCodeList != null}'>
        <c:forEach items="${nmailErrors.errorCodeList}" var="errorCode">
            <div class="error"><spring:message code="${errorCode}"/></div>
        </c:forEach>
    </c:if>
    <c:if test="${nmailErrors.errorMessages != null}">
        <c:forEach items="${nmailErrors.errorMessages}" var="errorMessage">
            <div class="error"><c:out value="${errorMessage}"/></div>
        </c:forEach>
    </c:if>
</div>
</c:if>
