--- On Wed, 9/10/08, Cosmin Marginean wrote: > Sorry for the misunderstanding - might not have been so > clear. I meant performing some logic in the JSP. I would > like to be able to do something like: > <td > <c:if test="${<an error for field 'xxx' exists>}"> > class="someErrorClass" > </c:if>
... In that case, use ValidationAware's getFieldErrors(). <s:if test="getFieldErrors('xxx') != null"> class="someErrorCalss" </s:if> (Syntax may be off.) Dave > > --- On Wed, 9/10/08, Cosmin Marginean wrote: >>> Is there a way to check if a certain field errorhas been set? >> In S2 use ValidationAware's getFieldErrors(...) method. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]