does anyone know how i can clear the applicationErrors
when i set one the validater will hang on that.
i want to clear the errors in the jsp error part just after writing the
errors to the screen:
in the messages.jsp there is this code:
<s:if test="hasActionErrors()">
<div class="error" id="errorMessages"> <s:iterator
value="actionErrors">
<c:url value= "
alt="<fmt:message key="icon.warning"/>" class="icon" />
<s:property escape="false"/><br />
</s:iterator>
</div>
</s:if>
<!-- clear the errors here -->
like the succes messages :
<%-- Success Messages --%>
<c:if test="${not empty messages}">
<div class="message" id="successMessages"> <c:forEach var="msg"
items="${messages}">
<c:url value= "
alt="<fmt:message key="icon.information"/>" class="icon" />
<c:out value="${msg}" escapeXml="false"/><br />
</c:forEach>
</div>
<c:remove var="messages" scope="session"/>
</c:if>
thanks
tibi
--
View this message in context:
http://www.nabble.com/clearing-actionErrors-tp18721237s2369p18721237.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]