[Seaside] Static link to get variables

Avi Bryant avi.bryant at gmail.com
Tue Feb 7 10:10:07 CET 2006


On Feb 7, 2006, at 12:52 AM, Dmitry Dorofeev wrote:

> Hi,
>
> You need to subclass WARenderLoopMain
> and implement (start: aRequest) method

There's a somewhat easier way to do this in recent versions of  
Seaside - after the initial component tree is created by #createRoot,  
every component in the tree will be sent #initialRequest: with the  
request object that started the session.  This can be especially  
effective when paired with a WATask subclass as the root, so that it  
can, eg, present a login page as needed depending on the request.

Avi


More information about the Seaside mailing list