Phil Harris wrote:
> <dtml-in "objectItems()">
>   <dtml-if "meta_type=='Folder'">
>     <dtml-call "restrictedTraverse(_['id']+'/iterate')(_.None,_)">
>   </dtml-if>
>   <dtml-var id><br>
> </dtml-in>

How about this <untested>:

 <dtml-in "objectItems()">
   <dtml-if "meta_type=='Folder'">
     <dtml-with sequence-item>
      <dtml-var iterate>
     </dtml-with>
   </dtml-if>
   <dtml-var id><br>
 </dtml-in>

cheers,

Chris

PS: I find this sort of thing is often best done in an external method.
Or a python product (see the __call__ thread on zope-dev for all the fun
you can have there ;-)

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

Reply via email to