Re: ActionMessage/ActionError and redirect-action result

2007-02-01 Thread Gonçalo Luiz
Here goes: _BEGIN__ /** * */ package eu.goncalo.solid.presentation; import java.util.Collection; import java.util.Map; import org.apache.struts2.dispatcher.DefaultActionSupport; import org.apache.struts2.interceptor.SessionAware; import eu.goncalo.s

Re: ActionMessage/ActionError and redirect-action result

2007-02-01 Thread Dave Newton
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote: > I think it does not make sense because many messages > that are presented are originated in the previous > interaction. Well, that's what session is for, I guess. > Just inherit your actions from this class and do > things normally... the messages wil

Re: ActionMessage/ActionError and redirect-action result

2007-02-01 Thread Gonçalo Luiz
I think it does not make sense because many messages that are presented are originated in the previous interaction. I consider the following class I just developed an elegant workaround. Just inherit your actions from this class and do things normally... the messages will be automatically persist

Re: ActionMessage/ActionError and redirect-action result

2007-02-01 Thread Dave Newton
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote: > I want to display a "user sucessfully created, please > proceed to login" [...] However in after the redirect > hte message seems to desappear... Um... if you're redirecting to a different action wouldn't it make sense that a message set in the curren