[Zope] dtml parent folder
Small Business Services
toolkit at magma.ca
Fri Apr 23 08:06:06 EDT 2004
Its aq_parent not ac_parent
----- Original Message -----
From: "Ashley Lloyd" <ashleylloyd at hotmail.com>
To: <toolkit at magma.ca>; <zope at zope.org>
Sent: April 23, 2004 7:46 AM
Subject: Re: [Zope] dtml parent folder
> Thanks once again, but again I got no joy.
>
> Using <dtml-with ac_parent>, I got a Key Error, with value "ac_parent".
> Using <dtml-with ac_parent()>, I got a Key Error, with value
"ac_parent()".
>
> Using <dtml-with "ac_parent">, I got a Name Error, with value "global name
> 'ac_parent' is not defined".
> Using <dtml-with "ac_parent()">, I got a Name Error, with value "global
name
> 'ac_parent' is not defined".
>
> It may be worth mentioning that this is done within Plone, but its done in
a
> dtml-method, so that shouldn't affect it, should it .. ? Anyway, sorry
for
> forgetting to mention it.
>
> Cheers
> Ashley
>
> >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
> >
>
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today!
> http://www.msn.co.uk/messenger
>
More information about the Zope
mailing list