[Seaside] How do I get the root component?

Boris Popov boris at deepcovelabs.com
Thu Aug 23 21:31:27 UTC 2007


Ah, yes, indeed. I use that in few places to refer to some settings on
the root class, but never the instance itself, bad suggestion on my
part.

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Lukas Renggli
> Sent: Thursday, August 23, 2007 2:17 PM
> To: Seaside - general discussion
> Subject: Re: [Seaside] How do I get the root component?
> 
> > self application rootComponent
> 
> This answers the class of the root component. I assume you want the
> instance of the root component, right?
> 
> In that case the answer is no. The session doesn't know the actual
> instance of the root component. There might be multiple render loops
> going on with different root components.
> 
> Lukas
> 
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list