[Seaside] Show a message only once?

Philippe Marschall philippe.marschall at gmail.com
Sat Mar 6 20:23:10 UTC 2010


2010/3/4 Richard Durr <richard.durr at googlemail.com>:
> Hello :)
> I'd like to know what the best way to display a message only once is.
> I tried to create a WAFlashMessage Decoration, that would remove
> itself, when it rendered but I can't get it working.
> Has anybody an idea?

The very simplest thing is to simply have an instance variable in a
component to track whether it has already been rendered once and it
that's true then do nothing.

Cheers
Philippe


More information about the seaside mailing list