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
Its aq_parent not ac_parent ----- Original Message ----- From: "Ashley Lloyd" <ashleylloyd@hotmail.com> To: <toolkit@magma.ca>; <zope@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
participants (2)
-
Ashley Lloyd -
Small Business Services