On Sunday January 5, "Edmund Lian" wrote:
>
> Seth,
>
> I can't reproduce the problem anymore.
>
> In a test page, I have:
>
> from WebKit.Page import Page
>
> class Main(Page):
> def writeHTML(self):
> self.write("Blah")
>
> Both Mozilla and MS IE 5.5 show that the incoming response to contain just
> "Blah"--no headers, etc.
>
> 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.
-Seth
-------------------------------------------------------
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