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 persisted into session _until they
are displayed_ (that is, until the _get_ method is invoked).

If you have any comments or suggestion please feel free.


On 01/02/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- 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
current action would go away?

If you want to display a message in an action you're
redirecting to then I'd imagine you'd have to put it
in session or a parameter or something.

There are probably more elegant solutions; I'm just
learning S2 myself.

d.




____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html



--
Gonçalo Luiz

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

Reply via email to