On May 4, 2002 04:37 pm, Terrel Shumway wrote:
> On Thu, 2002-05-02 at 16:38, Tavis Rudd wrote:
> > On May 2, 2002 11:16 am, Jeff Johnson wrote:
> > > In Page.awake, self._request = transaction.request().  In
> > > Cheetah.Servlet.awake, self.request = transaction.request.  I'm not
> > > sure if it should but WebKit.Servlet assumes that self._request is
> > > defined. Since Cheetah defines self.request instead of self._request,
> > > serverSidePath doesn't work from within Cheetah (using inheritance).
> >
> > Ahh, you've stumbled across a long-standing bug in webkit that I reported
> > sometime last summer.  WebKit.Servlet assumes that self._request is
> > defined, but neither Servlet nor HTTPServlet define it.  The Page class
> > does.
>
> The "_" at the front of _request should be clue enough that it is part
> of a *private* API.  Any code independent of the implementation of Page
> that uses it has already been given ample warning that it could go away
> some day.

You've missed the point.  Cheetah doesn't want access to _request, 
WebKit.Servlet.Servlet.serverSidePath() does, but it can't find it because it 
is only defined in the Page class.

> If Cheetah is adding a "request" attribute, then

Cheetah isn't.  It's adding a request() method by mapping to trans.request().

Tavis

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to