[Seaside] Show a message only once?

Richard Durr richard.durr at googlemail.com
Sat Mar 6 21:52:38 UTC 2010


I know, but but… maybe I am thinking to complex... ^^

On Sat, Mar 6, 2010 at 9:23 PM, Philippe Marschall
<philippe.marschall at gmail.com> wrote:
> 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
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list