[Seaside] Override docType in WAHtmlRoot object?

Boris Popov boris at deepcovelabs.com
Tue Feb 20 21:30:16 UTC 2007

In your top component implement the following,

MyComponent>>updateRoot: aHtmlRoot 
 super updateRoot: aHtmlRoot.
 aHtmlRoot docType: self xhtml10strict.


	^'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 

Hope this helps,


DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Rick Flower
> Sent: Tuesday, February 20, 2007 1:27 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: [Seaside] Override docType in WAHtmlRoot object?
> I see in WAHtmlRoot the docType instance variable (and it's accessors
> well), but am not sure how I can get to that object to change the
> default setting from Transitional to strict.. Is there some method off
> of WAComponent I can use to get to the WAHtmlRoot or some other way?
> If it matters, I'm using the Canvas API..
> Boris -- I think you've gone down this path already -- are there any
> gotcha's I should look out for?
> TIA!
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list