[Zope] computed attribute access(was: Re: [Zope] namespace and PARENTS doubt) (was: Re: [Zope] namespace and PARENTS doubt)

2000-07-26 Thread Dieter Maurer
Fabio Akita writes: dtml-with "_['PARENTS[1].' + _['parameter'] + '.folder']" For "computed attribute access", use "_.getattr". In your case probably (I am not sure, I understand you expression correctly): dtml-with "_.getattr(PARENTS[1],parameter).folder" Dieter

RE: [Zope] namespace and PARENTS doubt

2000-07-25 Thread Chris McDonough
Untested: dtml-let level1="_.getitem(PARENTS[1], 'folder1')" level2="_.getitem(level1, 'folder')" dtml-with level2 ...commands.. /dtml-with /dtml-let -Original Message- From: Fabio Akita [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 5:46 PM To: [EMAIL PROTECTED]