[Seaside] How to perform some action on every page refresh?

Boris Popov boris at deepcovelabs.com
Sat Sep 15 12:20:39 UTC 2007

Perhaps the question was triggered when the list didn't change, which may be the case if its initialized once for the first rendering pass, but second pass simply uses stored collection after. If the list is generated and needs updating, just don't store it.


(Sent from a BlackBerry)

----- Original Message -----
From: seaside-bounces at lists.squeakfoundation.org <seaside-bounces at lists.squeakfoundation.org>
To: Seaside - general discussion <seaside at lists.squeakfoundation.org>
Sent: Sat Sep 15 04:16:25 2007
Subject: Re: [Seaside] How to perform some action on every page refresh?

> In my application i have this section where i list clients, but i need
> to have that list update everytime the user refreshes the page and not
> through a specific link or form field. What would be the most correct
> way to achieve this?

Every time you get a page refresh Seaside re-generates the specific
page. Seaside calls your #renderContentOn: messages every time the
user hits refresh.

Or did you ask something else?


Lukas Renggli
Seaside mailing list
Seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070915/de113ce5/attachment.htm

More information about the seaside mailing list