[Seaside] Some Seaside 3.0 questions?

Philippe Marschall philippe.marschall at gmail.com
Sun Nov 29 11:21:43 UTC 2009

2009/11/28 Conrad Taylor <conradwt at gmail.com>:
> Hi, I have the following questions regarding Seaside 3.0 API:
> 1)  Why doesn't Seaside have an explicit head tag factory selectors?

They are automatically generated because they are always there.

> For
> example, I was expecting to see
>      something like this:
>      SomeClass>>head
>      Note:  This would be considered global within the entire Seaside
> application.  Also, I would be able to set both my CSS and
>                Javascript here.

You can do that in #updateRoot:. You can't do this in
#renderContentOn: because there you're already inside <body>

> 2)  How does one set standard and event attributes on body tag?  For
> example, I would like to be able to set the following
>      standard attributes:
>      class, dir, id, lang, style, title, and xml:lang
>      event attributes:
>      onlick, ondbclick, and so on

See WARenderLoopContinuation >> #updateRoot:. There are certainly some
convenience methods missing and we would welcome any patches in this

> 3)  How does one set the appropriate attributes html tag?  For example,
> xmlns, dir, lang, and xml:lang.

See above.

> 4)  When one is setting these attributes in (1), (2), and (3) will they be
> global to the component in question or will they be
>      global to all components?

Global to the page that the component that implements #updateRoot: is on.


More information about the seaside mailing list