[Seaside] WAHtmlDocument>>comment:

Lukas Renggli renggli at gmail.com
Tue Feb 13 22:16:34 UTC 2007


> I know the comment states that by default it doesn't bother to render
> comments, but I can't seem to figure why that might be :)
>
> WAHtmlDocument>>comment: aString
>         self
>                 text: '<!--';
>                 text: aString;
>                 text: '-->'

I don't see a point in emitting a comment to the generated XHTML.
After all it is a single line of compact markup ...

The idea of the #comment: message was to put some annotation into the
pretty printed output, accessible from the halos.

Cheers,
Lukas

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


More information about the Seaside mailing list