I am trying to work my way up through folders, checking whether each
folder has a property named 'site_root_folder'.  Logically (in *my*
head anyway), what I have written below is what I want to do, but I'm
not sure that I'm really writing this the write way.  I vaguely
remember reading that I can't nest dtml-if tags within dtml-in tags.

I'd really appreciate any help on this

tim

<dtml-let level=0>
<dtml-in level>
<dtml-if "PARENTS[level].hasProperty('site_root_folder')">
<dtml-var "PARENTS[level].absolute_url()">
<dtml-else level="level+1">
</dtml-in>
</dtml-let>


Tim:  [EMAIL PROTECTED]




_______________________________________________
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