[Seaside] How to perform some action on every page refresh?
alex.paes at streetdogstudio.com
Sun Sep 16 00:55:40 UTC 2007
First let me thank everyone who answered my question.
Sebastian Sastre wrote:
> 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
I must admit this was my first thought, but i actually believe i read
somewhere that one should not call non-rendering methods from
Thanks again everyone for your answers.
More information about the seaside