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

2000-09-15 Thread Andrew Kenneth Milton
+---[ Dennis Nichols ]-- | At 9/15/00 10:05 AM, Chris Withers wrote: | >So: | > | > | > | >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 E

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

2000-09-15 Thread Dennis Nichols
At 9/15/00 10:05 AM, Chris Withers wrote: >So: > > > >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 Invalid attribute name, "absolute_url", for tag ... -- Dennis N

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

2000-09-15 Thread Steve Alexander
Dennis Nichols wrote: > > At 9/15/00 10:05 AM, Chris Withers wrote: > >So: > > > > > > > >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 > Invalid attribute

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

2000-09-15 Thread Steve Alexander
Chris Withers wrote: > > PS: Has your patch to allow &dtl.url-/folder/object; made any progress > into the Zope core yet? That's part of another proposal now. I really don't like having '/' characters in SGML entities. I have this heretical view that DTML should try to conform to SGML where poss

[Zope] restrictedTraverse - yay! :-)

2000-09-15 Thread Chris Withers
Steve Alexander wrote: > > > You can use restrictedTraverse('slash/delimited/path') > > > > AFAIK, that's not available in DTML... > > > > Am I wrong? > > You're wrong. Yay! :-) I guess that takes away a lot of the need for &dtml-/folder/object; So: will work as I expect it to? cool, Chri