dusty wrote:
> 
> I have found 
>                 <interceptor-ref name="messages">
>                     &lt;param
> name="operationMode"&gt;AUTOMATIC&lt;/param&gt;
>                 </interceptor-ref>
> to work great for addActionMessage.  To tell you the truth I haven't tried
> it for addActionError or fieldErrors.  You would redirect after an error
> that should render input?  Really?
> 
> 

Sorry, don't know what "messages" is, it's not part of the
struts-default.xml (2.0.11.1). 

I wanted an Interceptor that didn't require any per-action configuration and
would preserve all messages across a redirect.  I have it configured as part
of my default stack.
(I don't have a use-case where the fieldErrors would be useful across a
redirect but somebody may and it was easy enough to include them.)


-- 
View this message in context: 
http://www.nabble.com/-S2--Preserving-messages-across-a-Redirect-in-Struts-2-tp18245061p18317448.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to