Re: [Zope] restrictedTraverse([''])

2005-05-24 Thread Hong Yuan
Thanks very much for the clarification. Lennart Regebro wrote: On 5/24/05, Hong Yuan [EMAIL PROTECTED] wrote: I happened to find that obj.restrictedTraverse(['']) returns the application object, instead of the object itself. This is quite unexpected, as both obj.restrictedTraverse('') and

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Steve Alexander
Dennis Nichols wrote: At 9/15/00 10:05 AM, Chris Withers wrote: So: dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url will work as I expect it to? Well, I don't know what you expect :-) When I try to save such a construct with the handy-dandy Change button I get

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Dennis Nichols
At 9/15/00 10:05 AM, Chris Withers wrote: So: dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url will work as I expect it to? Well, I don't know what you expect :-) When I try to save such a construct with the handy-dandy Change button I get Document Template Parse Error

Re: [Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Andrew Kenneth Milton
+---[ Dennis Nichols ]-- | At 9/15/00 10:05 AM, Chris Withers wrote: | So: | | dtml-var "restrictedTraverse('slash/delimited/path')" absolute_url | | will work as I expect it to? | | Well, I don't know what you expect :-) When I try to save such a construct | with the