[Zope] dtml parent folder

Ashley Lloyd ashleylloyd at hotmail.com
Fri Apr 23 07:22:10 EDT 2004


Thanks very much for your reply.

Unfortunately, with both of these, I get a Key Error, with error value 
"root".

>Try:
>
><dtml-with root>
>   <dtml-with pdf>
>     <dtml-call "REQUEST.set('varName',scriptName(args))">
>   </dtml-with>
></dtml-with>
>
>or
>
><dtml-with "restrictedTraverse('root/pdf')">
>   <dtml-call "REQUEST.set('varName',scriptName(args))">
></dtml-with>
>
>
>HTH
>
>Jonathan
>

_________________________________________________________________
Sign-up for a FREE BT Broadband connection today! 
http://www.msn.co.uk/specials/btbroadband




More information about the Zope mailing list