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

Dieter Maurer dieter@handshake.de
Wed, 26 Jul 2000 21:14:27 +0200 (CEST)


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