[Zope] Architectural decisions
Peter Bengtsson
mail at peterbe.com
Mon May 24 18:48:42 EDT 2004
I have no idea. There's an equivalent one which you'll find very useful too.
context.restrictedTraverse('/folder/object')
or
context.restrictedTraverse('../..foo/object')
For the daring product/external method developer there's also
self.unrestrictedTraverse()
Guess the difference.
Ben Last (Zope) wrote:
>Quick question - do you know what module that path() method is imported
>from? I'd like to use it in a Python script and a Product class.
>ben
>
>
>
>>-----Original Message-----
>>From: Peter Bengtsson [mailto:mail at peterbe.com]
>>Try
>><h2 tal:content="python:path('here/%s/environment'%request['partner'])">
>>
>>
>
>
>
>
>
--
Peter Bengtsson, http://www.peterbe.com
More information about the Zope
mailing list