RE: [Zope] DTML Doc property from DTML Method in tag
this is my structure:
Folder 'HERE' has Folders within it. Assume that they have ids ID1, ID2, ID3, etc. Each of these Folders has a property 'common_name'
Thus, in HERE/ID1 can reference <!--#var common_name--> and get 'Name 1'.
In HERE, I execute a form. The checkboxes build a list ids ['ID1', 'ID2']. Processing the form, <!--#var ids--> gives me the list. <!--#in ids--><!--#var sequence-item--><!--#/in--> gives 'ID1' on the first iteration. But I want to get 'Name 1'
Try this: <!--#in "objectValues(['Folder'])"--> <p> My id is: <!--#var id--><br> My common_name is: <!--#var common_name--> </p> <!--#/in--> Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
participants (1)
-
Brian Lloyd