[Seaside] Override docType in WAHtmlRoot object?

Rick Flower rickf at ca-flower.com
Tue Feb 20 21:39:14 UTC 2007

Boris Popov wrote:
> In your top component implement the following,
> MyComponent>>updateRoot: aHtmlRoot 
>  super updateRoot: aHtmlRoot.
>  aHtmlRoot docType: self xhtml10strict.
> and,
> xhtml10strict
> 	^'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'

Thanks Boris -- I guess I forgot that I had that updateRoot: method.. I 
almost never look at it.. It's apparently working now.. Thanks!

More information about the Seaside mailing list