[Seaside] WARenderLoopContinuation>>updateRoot "HTML-only"

Philippe Marschall philippe.marschall at gmail.com
Sat Sep 12 07:55:47 UTC 2009


2009/9/12 Robert Shiplett <grshiplett2 at yahoo.com>
>
> WARenderLoopContinuation
>
> >>updateRoot: anHtmlRoot
> anHtmlRoot bodyAttributes at: 'onload' append: 'onLoad()' separator: ';'.
> anHtmlRoot meta contentType: self application contentType.
> anHtmlRoot meta contentScriptType: WAMimeType textJavascript.
> anHtmlRoot htmlAttributes
> at: 'xmlns' put: 'http://www.w3.org/1999/xhtml';
> at: 'xml:lang' put: 'en';
> at: 'lang' put: 'en'.
> anHtmlRoot beXhtml10Strict.
> anHtmlRoot title: 'Seaside'.
> self application libraries
> do: [ :each | each default updateRoot: anHtmlRoot ].
> self session updateRoot: anHtmlRoot

Make a subclass, is configurable on WAApplication.

Cheers
Philippe


More information about the seaside mailing list