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>
>
--- On Wed, 9/10/08, Cosmin Marginean wrote:
Is there a way to check if a certain field error has been set?
In S2 use ValidationAware's getFieldErrors(...) method.
http://struts.apache.org/2.0.11.2/struts2-core/apidocs/com/opensymphony/xwork2/ValidationAware.html#getFieldErrors()
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Cosmin Marginean
--
cosminaru.ro
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]