Re: [Zope-dev] __bobo_traverse__, restrictedTraverse and PageTemplates

2002-04-02 Thread Florent Guillaume
Shane Hathaway <[EMAIL PROTECTED]> wrote: > > If anybody has any lights on how I can write the __bobo_traverse__ I > > need... > > I'm assuming you're using TALES traversal as opposed to ZPublisher > traversal, right? It lets you view the objects directly through the > web, doesn't it? Yes,

Re: [Zope-dev] __bobo_traverse__, restrictedTraverse and PageTemplates

2002-04-02 Thread Shane Hathaway
Florent Guillaume wrote: > So I don't understand the different treatments, with bobo_traverse I get > a None container, which makes the validate fail, whereas standard > traversal calls ac_acquire with as a filter validate2, the filters > receives a container, and this validation suceeds. > > If

[Zope-dev] __bobo_traverse__, restrictedTraverse and PageTemplates

2002-04-02 Thread Florent Guillaume
I'm using Zope 2.5.1b1, CMF from CVS. I'm having a strange problem when trying to define a custom __bobo_traverse__, where an Unauthorized exception is raised from PageTemplates/Expressions.py/restrictedTraverse. The object's __bobo_traverse__ is simply doing def __bobo_traverse__(self, REQU