On Tuesday 19 February 2002 10:41 pm, Edmund Lian wrote:
> Chuck,
>
> >>You should also review the summaries of the classes so you can see
> >> what
>
> their methods are. These come with your local docs.<<
>
> Thanks... I've actually been doing this. But the class summaries did
> not show why a subclass of Page would have a HTTPRequest instance
> available as self.request(). [Newbie question here...] Is it because
> it is a mix-in, or because Application passes the transaction object
> to it?

Application always passes the transaction to awake(), respond() and 
sleep() of the servlet. Page's awake() stores references to the various 
objects contained by the transaction for your convenience. That's what 
Page is all about: an subclass of HTTPServlet with lots of conveniences.

Don't forget to check out the slides that were posted to the home page. 
You'll see a reference in the news.


> BTW, I really liked your article about mix-ins in the Linux Journal,
> and am learning quite a bit from a (forced :-) ) reading of the
> source code to try and find out what's going on...
>
> ...Edmund.


Thanks. And enjoy!  :-)


-Chuck

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to