I stand corrected and informed. Now that you mention it, I remember
looking into this before. I wish the Struts Users Guide HTML tag API
made the difference a little more obvious in the description. I'm not
saying the documentation is incorrect, just that the quick skim I did
before I sent my email didn't make the difference clear. It didn't help
that the doc for :errors only mentions displaying an ActionErrors object
whereas the :messages one references ActionMessages and ActionErrors.
K.C.
Joe Germuska wrote:
At 8:55 AM -0700 4/14/05, K.C. Baltz wrote:
Perhaps you should be using <h:errors> to display your error messages
instead of <h:messages>
I think it depends on if you use saveErrors or saveMessages in your
Action.
This is NOT true.
The differences between the h:errors tag and the h:messages tag are
functional, but both can be used to iterate through any instance of
ActionMessages, and both default to using the ActionMessages saved as
a result of calling "saveErrors".
Read Niall's thorough write-up for full details:
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]