[Zope] breadcrumbs ques

Jens Vagelpohl jens@zope.com
Tue, 24 Sep 2002 11:40:19 -0400


REQUEST.PARENTS is something totally different than REQUEST.PUBLISHED. 
PUBLISHED is the currently published object. PARENTS is a sequence of 
objects that represent the traversed objects from the currently 
published object all the way to the zope root.

jens

On Tuesday, Sep 24, 2002, at 11:42 US/Eastern, AM wrote:

> SO are REQUEST.PARENTS and REQUEST.PUBLISHED interchangeable then at 
> least in this context...
> TIA
> AM
>
> Jens Vagelpohl wrote:
>
>> no, PARENTS is absolutely not deprecated. chris just likes to make 
>> blanket statements like that...
>>
>> if you read HISTORY.txt it mentions PARENTS in a single context: for 
>> user validation purposes the new REQUEST.PUBLISHED is preferred over 
>> pulling the published object out of REQUEST.PARENTS.
>>
>> jens
>>
>>
>> On Tuesday, Sep 24, 2002, at 09:05 US/Eastern, abg@comco-inc.com 
>> wrote:
>>
>>> Is PARENTS deprecated in favor of something else?
>>>
>>> -----Original Message-----
>>> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of 
>>> Chris
>>> Withers
>>> Sent: Tuesday, September 24, 2002 6:55 AM
>>> To: lsh@wo.cz
>>> Cc: AM; Zope
>>> Subject: Re: [Zope] breadcrumbs ques
>>>
>>>
>>> Jaroslav Lukesh wrote:
>>>
>>>> Hi, try pure DTML solution, what works with virtual webs too:
>>>>
>>>> <dtml-in "PARENTS[:-1]" skip_unauthorized
>>>
>>>
>>> PARENTS is depreated.
>>>
>>> cheers,
>>>
>>> Chris