Re: Showing messages after a redirect

2013-03-28 Thread pdegregorio
I added the following line to the 2nd block of code (the next action redirected to) saveMessages(request, messages); -- View this message in context: http://struts.1045723.n5.nabble.com/Showing-messages-after-a-redirect-tp3481980p5712345.html Sent from the S

Re: Showing messages after a redirect

2008-07-02 Thread Dimitris Mouchritsas
Adam Hardy wrote: Dimitris Mouchritsas on 01/07/08 16:50, wrote: Yes, for Struts 1.3.8, sorry I forgot to mention. Actually what I did (but it's more or less specific for the action) is to just forward, not redirect. But I've got another question now? Is there a way I can pass a parameter in

Re: Showing messages after a redirect

2008-07-01 Thread Adam Hardy
Dimitris Mouchritsas on 01/07/08 16:50, wrote: Yes, for Struts 1.3.8, sorry I forgot to mention. Actually what I did (but it's more or less specific for the action) is to just forward, not redirect. But I've got another question now? Is there a way I can pass a parameter in the request? I need

Re: Showing messages after a redirect

2008-07-01 Thread Adam Hardy
Dimitris Mouchritsas on 01/07/08 16:50, wrote: Ian Roughley wrote: Yes, for Struts 1.3.8, sorry I forgot to mention. Actually what I did (but it's more or less specific for the action) is to just forward, not redirect. But I've got another question now? Is there a way I can pass a parameter in th

Re: Showing messages after a redirect

2008-07-01 Thread Dimitris Mouchritsas
Ian Roughley wrote: my mistake, only saw the last message. Antonio Petrelli wrote: 2008/7/1 Ian Roughley <[EMAIL PROTECTED]>: Have you looked at the message store interceptor? For Struts 1? Antonio - To unsubscribe,

Re: Showing messages after a redirect

2008-07-01 Thread Ian Roughley
my mistake, only saw the last message. Antonio Petrelli wrote: 2008/7/1 Ian Roughley <[EMAIL PROTECTED]>: Have you looked at the message store interceptor? For Struts 1? Antonio - To unsubscribe, e-mail: [EMAIL PROT

Re: Showing messages after a redirect

2008-07-01 Thread Antonio Petrelli
2008/7/1 Ian Roughley <[EMAIL PROTECTED]>: > Have you looked at the message store interceptor? For Struts 1? Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Showing messages after a redirect

2008-07-01 Thread Ian Roughley
Have you looked at the message store interceptor? /ian Antonio Petrelli wrote: 2008/7/1 Dimitris Mouchritsas <[EMAIL PROTECTED]>: ActionMessages msg = new ActionMessages(); msg.add(Constants.MESSAGE_CONFIRM, new ActionMessage("prompt.changes.saved")); saveMessages(request, msg); But when I

Re: Showing messages after a redirect

2008-07-01 Thread Antonio Petrelli
2008/7/1 Dimitris Mouchritsas <[EMAIL PROTECTED]>: > ActionMessages msg = new ActionMessages(); > msg.add(Constants.MESSAGE_CONFIRM, new > ActionMessage("prompt.changes.saved")); > saveMessages(request, msg); > > But when I'm redirected back in the jsp there's no message showing (there's > a specif

Showing messages after a redirect

2008-07-01 Thread Dimitris Mouchritsas
Hi all, I've got the following problem. I have an action that edits the details of a user. When the action finishes correctly I want to show a confirmation message, so in the action: ActionMessages msg = new ActionMessages(); msg.add(Constants.MESSAGE_CONFIRM, new ActionMessage("prompt.change