Leonard- The Action class getErrors() method returns the contents of ActionErrors or creates new ActionMessages object http://struts.apache.org/api/org/apache/struts/action/Action.html Is this what you're looking for? Martin- ----- Original Message ----- From: "StrutsUser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 11, 2004 8:19 AM Subject: html:errors and manual iterate
I have a situation in which I have to add an ActionError without a message (use it to indicate field in error on the page). If I use the generic html:errors tag, it displays lineitems without a message. Is there a way to iterate over html:errors to check that a message should be displayed only if the message is not empty. Thanks in advance for any suggestions, Leonard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]