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

Sebastian Sastre ssastre at seaswork.com
Sat Sep 15 18:02:29 UTC 2007

If I understood you right, you need what Lukas told. Just use the
#renderContentOn: of the compoenent like this:

ClientsList>>renderContentOn: html

	self freshClients do:[:e| self renderClient: e on: html]

Then your method #freshClients gets them from whatever you are using to
store and query clients. Everytime the component is rendered (visited or
refreshed) you have the Seaside guarantee of that being executed


Sebastian Sastre

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Alexandre Paes
> Enviado el: Sábado, 15 de Septiembre de 2007 07:46
> Para: Seaside - general discussion
> Asunto: [Seaside] How to perform some action on every page refresh?
> Hi,
> 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?
> Alexandre
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list