Re: [s2] Difference between actionMessages and actionErrors

2007-04-24 Thread Eric Rank
Another important difference between ActionMessages and ActionErrors has to do with how the Validation interceptor works. If you add an ActionError in the 'validate' method (or before the ValidationInterceptor get ahold of the request) of a ValidationAware action, the interceptor will see t

Re: [s2] Difference between actionMessages and actionErrors

2007-04-24 Thread Skip Hollowell
Harring Figueiredo wrote: Here it goes, without testing. I think that the HTML generated is slightly different so that you may apply different CSS style sheets to it. Bingo. That is exactly the reason for the two. Direct from my style sheet: span.actionMessage { background-color: Lig

Re: [s2] Difference between actionMessages and actionErrors

2007-04-24 Thread Harring Figueiredo
I was supposed to test the genereated HTML from both. (Laziness got the best of me). Here it goes, without testing. I think that the HTML generated is slightly different so that you may apply different CSS style sheets to it. harringf On 4/24/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: a

Re: [s2] Difference between actionMessages and actionErrors

2007-04-24 Thread Musachy Barroso
actionMessages is for general messages, and actionErrors for errors. . I don't think there are any implications. regards musachy On 4/24/07, Zoran Avtarovski <[EMAIL PROTECTED]> wrote: A quick question on what the recommended method for displaying general messages when using struts 2, actionMe