[Seaside] Possible to get applicationMain object at runtime?

Philippe Marschall philippe.marschall at gmail.com
Thu Jan 1 19:16:21 UTC 2009

2008/12/31, Richard E. Flower <rickf at ca-flower.com>:
> Normally I'd like to keep most session values in my session class --
> however, I've got a 'content' object that will render whatever object
> is in it -- but this lives within the application which is doing the
> main rendering.. Is there any easy way to gain access to that from
> anywhere within the system?

Pack it into a thread-local or a dynamic variable. You can make your
own custom subclass of WADynamicVariable and use this.


More information about the seaside mailing list