[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

[Zope] namespace and PARENTS doubt

2000-07-25 Thread Fabio Akita
Hi again That may be a simple doubt but that´s it: dtml-with "_.namespace( parameter = 'folder1' )" dtml-with "_['PARENTS[1].' + _['parameter'] + '.folder']" 'commands' /dtml-with /dtml-with The above statement just doesn´t work. The 'parameter' is a DTML variable

RE: [Zope] namespace and PARENTS doubt

2000-07-25 Thread Chris McDonough
To: [EMAIL PROTECTED] Subject: [Zope] namespace and PARENTS doubt Hi again That may be a simple doubt but that´s it: dtml-with "_.namespace( parameter = 'folder1' )" dtml-with "_['PARENTS[1].' + _['parameter'] + '.folder']" 'commands' /dtml