--- Stefan Schwarz <[EMAIL PROTECTED]> wrote: > I want to display a block if the field has an error like: > > <s:if test="...<CheckIamLookingFor>..."> > display this... > display that... > </s:if> > > Is there a way?
JavaDocs are your friend. ActionSupport's getFieldErrors method [1] returns a map keyed from the input field name. Dave [1] http://struts.apache.org/2.0.11.1/struts2-core/apidocs/com/opensymphony/xwork2/ValidationAware.html#getFieldErrors() --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]