Hi again

That may be a simple doubt but thatīs it:

<dtml-with "_.namespace( parameter = 'folder1' )">
     <dtml-with "_['PARENTS[1].' + _['parameter'] + '.folder']">
          .... 'commands' ....

The above statement just doesnīt work. The 'parameter' is a DTML variable in
the global namespace.

But if I try:

<dtml-with "PARENTS[1].folder1.folder">

That will work. What I am trying to do is to execute the "....
'commands'....." above for lotīs of 'parameter' folders. But the
_['PARENTS[1].' + 'something'] trick doesnīt work. Is there another way to
make the first statement work?

(maybe I was a bit confusing here, I hope you understand the problem)


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to