[Seaside] Enabling DOCTYPE in Seaside
Julian Fitzell
julian at beta4.com
Thu Mar 11 19:46:49 CET 2004
I did this at work and will probably merge it into a seaside release
once I get a breather. What I did was to change
WAHtmlResponse>>printHtmlOn: to the following:
printHtmlOn: aStream
aStream nextPutAll: self xmlDeclaration; cr.
aStream nextPutAll: self docType; cr.
aStream nextPutAll: '<html>'.
head printHtmlOn: aStream.
body printHtmlOn: aStream.
aStream nextPutAll: '</html>'.
then you can define #xmlDeclaration and #docType as appropriate. (I was
adding #xmlDeclaration to further our xhtml compliance - you could leave
that part out).
Julian
Felix Franz wrote:
> Hi all,
>
> while seaside generates nice html, it doesn't include a
> DOCTYPE-Definition. Unfortunately a lot of browsers change their
> behavior depending on the Doctype.
>
> So far I was not able to find the right place to include the doctype.
> Does someone know where and what to change?
>
> Thanks in advance
>
>
> felix
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
More information about the Seaside
mailing list