[Seaside] Re: Concurrent requests from multiple sessions

Philippe Marschall philippe.marschall at gmail.com
Wed Mar 11 07:19:11 UTC 2015


On Tue, Mar 10, 2015 at 2:25 PM, wilwarin <Ondrej.Altman at seznam.cz> wrote:
> --- BTW: ---
>> Your rendering method is just for painting the current state of your
>> component, it shouldn’t be concerned with changing that state.
>
> So, when somebody does some data processing during the rendering, it will
> cause this problem?
> -------------

You shouldn't change component state in the render phase, you should
change component state only in the callback phase. Doing database
access for display in the render phase is fine from a Seaside
perspective.

Cheers
Philippe


More information about the seaside mailing list