true=Globals.MESSAGE_KEY false=Globals.ERROR_KEY
On 04/05/2004 07:57 PM Kumar M wrote:
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>
[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- struts 1.2 + tomcat 5.0.19 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]