[Seaside] Some general Seaside questions?

Boris Popov boris at deepcovelabs.com
Mon Aug 13 13:45:05 UTC 2007

#renderContentOn: is used for all things <body>, for everything else
there's a handy #updateRoot: of which there are many examples out there.

updateRoot: aHtmlRoot

 super updateRoot: aHtmlRoot.
 aHtmlRoot beXhtml10Strict.
 aHtmlRoot title: 'My Application'.
 (aHtmlRoot meta) name: 'ping'; content: 'pong'.
 aHtmlRoot javascript resourceUrl: '/other/misc.js'.
 (aHtmlRoot stylesheet)
    resourceUrl: '/css/screen.css';
 (aHtmlRoot stylesheet)
    resourceUrl: '/css/print.css';

Etc, etc, where #resourceUrl is relative to #resourceBaseUrl property of
the application, which is my local image with a custom request handler
to serve resources locally and is replaced with a CDN URL for

Hope this helps,


DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


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

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Conrad Taylor
> Sent: Monday, August 13, 2007 6:38 AM
> To: Seaside - general discussion
> Subject: [Seaside] Some general Seaside questions?
> Hi, I was wondering,
> a)  How does specify the following within the renderContentOn:
> body tag
> head tag
> meta tag
> as so on
> Is there an easy to digest listing of what can be placed in a
> renderContentOn method?
> b)  Next, how does specify the path for image assets on the
> Thanks in advance,
> -Conrad
> ps:  I wish both Andy Bower and Blair McGlashan of ObjectArts all the
> best.

More information about the seaside mailing list