[Seaside] Some general Seaside questions?
conradwt at gmail.com
Mon Aug 13 14:16:38 UTC 2007
Hi Boris and Lukas, thanks for the information. BTW, I'm using
Squeak/VisualWorks for Seaside development. Anyway, in regards to accessing
the images, I can simply store the meta data for the image in the database
along with the other product information because I'll only need the exact
location for the image when I rendering the product in the browser. Next,
does one specify #updateRoot in the body of the renderContentOn: method?
For example, where does one put the following calls:
super updateRoot: aHtmlRoot.
aHtmlRoot title: 'My Application'.
(aHtmlRoot meta) name: 'ping'; content: 'pong'.
On 8/13/07, Boris Popov <boris at deepcovelabs.com> wrote:
> #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 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
> 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
> 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.
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside