At 11:19 AM -0700 4/14/05, K.C. Baltz wrote:
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.

Good point! If you could put a ticket in Bugzilla, hopefully your point won't be forgotten. If you wanted to provide proposed alternative text, so much the better...


http://issues.apache.org/bugzilla/enter_bug.cgi?product=Struts

Joe


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]


--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to