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-var id><br>



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]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to