[Seaside] Enabling DOCTYPE in Seaside
Felix Franz
fefr at gmx.net
Thu Mar 11 19:51:19 CET 2004
Hi Julian,
thanks for the code. I will integrate it tomorrow in the little Seaside
App i am working on. I think a merge into the seaside release would be a
good idea.
felix
Julian Fitzell wrote:
> 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
>
More information about the Seaside
mailing list