struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: ActionMessage/ActionError and redirect-action result
Date Thu, 01 Feb 2007 23:45:01 GMT
--- Gonçalo Luiz <goncalo.luiz@gmail.com> 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 will be
automatically
> persisted into session _until they are displayed_ 
> (that is, until the _get_ method is invoked).

The list doesn't accept attachments, but I'm not sure
how this would work, unless it's just a getter that
accesses something via a known key in a SessionAware
action (like :flash in RoR).

d.



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message