struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumar M <kumar...@netscape.net>
Subject Re: Iterate over ActionErrors
Date Mon, 05 Apr 2004 17:57:46 GMT

Use the html:message tag:

<html:messages id="msg" header="msg_header" footer="msg_footer" 
message="true" >
    <li><bean:write name="msg"/></li>
</html:messages>

sgarlatm@crystalcognition.com wrote:

> Does anyone know the recommended way to iterate over all the errors
> automatically generated by the Validator?  I am familiar with the
> <html:errors> tag, but I can't figure out what tag(s) should be used if
> I want to manually iterate over each of the errors and build my own
> custom error message.
>
> Sorry for the basic question, but the book I have refers to the
> <validator> tag library, which I can't find anymore.  I'm guessing it's
> an old Struts 1.0 thing.
>
> Thanks in advance,
>
> Matt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message