[Seaside-dev] WACurrentSession users

Lukas Renggli renggli at gmail.com
Mon Jul 14 17:48:51 UTC 2008


> Hm... only the one sender. WAHtmlStreamDocument is referenced directly
>  in a few places. It looks like they could pretty much all use a
>  preference if there was a use case for users changing it. Can anyone
>  think of a good reason someone would want configurable document
>  classes per-application or per-something-else?

Maybe some document that does an on-the-fly validation according to a DTD?

>  Other than SUDocument, the only other subclass currently is the
>  often-asked-for-but-problematic-and-not-overly-useful
>  WAPrettyPrintedDocument which there seems to be no way of using in
>  2.9.

WAPrettyPrintedDocument is used in the source-code rendering of the
halos. It uses an instance of WAHtmlStreamDocument as delegate, but
pretty-prints and syntax-highlights the generated XHTML to XHTML.

Pretty-printing the XHTML itself is problematic indeed. This is not
really possible without changing the visual appearance.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list