Hi, thank you for all that answers, this was really helpful!
On Mon, Jun 22, 2009 at 12:18, Hanno Schlichting wrote:
> On Tue, Jun 16, 2009 at 10:35 PM, Patrick Gerken
> wrote:
> > A testcase in my code fails, and after a lot of digging, I am finding
> that
> > the reason are wrong results from
On Tue, Jun 16, 2009 at 10:35 PM, Patrick Gerken wrote:
> A testcase in my code fails, and after a lot of digging, I am finding that
> the reason are wrong results from the catalog. The catalog returns bad
> results because he caches the results in the request.
> My test consists of a number of ste
On 2009-06-16, Patrick Gerken wrote:
>
> A testcase in my code fails, and after a lot of digging, I am finding that
> the reason are wrong results from the catalog. The catalog returns bad
> results because he caches the results in the request.
> My test consists of a number of steps, for multiple
On Wed, Jun 17, 2009 at 2:38 PM, Alex Clark wrote:
> On 2009-06-17, Martin Aspeli wrote:
>> In Zope 2, your views *also* support acquisition, because until Zope
>> 2.12 at least, they have to in order to have security. So you can do
>> self.REQUEST on the view, which acquires it from a parent. But
On Wed, Jun 17, 2009 at 2:38 PM, Alex Clark wrote:
> On 2009-06-17, Martin Aspeli wrote:
>> In Zope 2, your views *also* support acquisition, because until Zope
>> 2.12 at least, they have to in order to have security. So you can do
>> self.REQUEST on the view, which acquires it from a parent. But
On 2009-06-17, Martin Aspeli wrote:
> REQUEST is a Zope2-ism. When you do self.REQUEST somewhere, you are
> actually using acquisition to get this object from the outermost item in
> any (most?) acquisition chain: a magic RequestContainer class whose
> purpose it is to let you acquire a REQUEST
Patrick Gerken wrote:
> Hello,
>
> I am a bit confused about self.request and self.REQUEST.
> Can anybody point me to an explanation of the different tasks that both
> have?
> Googling for request vs REQUEST is not helpful...
D'oh! :-)
REQUEST is a Zope2-ism. When you do self.REQUEST somewhere,
Hello,
I am a bit confused about self.request and self.REQUEST.
Can anybody point me to an explanation of the different tasks that both
have?
Googling for request vs REQUEST is not helpful...
Here is the reason why I am wondering:
Context is a small product to be used in plone.
A testcase in my