On 01/05/2003 02:45:00 PM Seth Hettich wrote:

>> One thing to be aware of is that Page.py generates headers for actions
>> differently than for the writeContent method. Specifically, the <html>
tag
>> is generated in .preAction() and the closing tag is generated in
>> .postAction(). But for the writeContent method, these tags come from
>> .writeHTML()
>
>Oh!  That's what I needed!  (this is in an action).
>
>So, I just need to overried preAction() and postAction()
>
>Fantastic.  Thanks.

Now that I think of it, this was my problem before too--it wasn't that a
browser was adding the <html></html> tags...

This by the way, is really a bug in Page.py. I don't think there should be
two different ways to generate the default <html></html> tags in a
response. And in any case, the stuff that the .preAction() method generates
is completely lacking the doctype headers that .writeHTML() generates. Not
good from a standards point of view.

...Edmund.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to