[Zope] dtml parent folder
Small Business Services
toolkit at magma.ca
Fri Apr 23 07:36:34 EDT 2004
----- Original Message -----
> 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>
Sorry, its way too early in the morning and my caffeine intake has not yet
reached critical mass...
Try:
<dtml-with aq_parent>
<dtml-call "REQUEST.set('varName',scriptName(args))">
</dtml-with>
HTH
Jonathan
More information about the Zope
mailing list