[Zope] looking into folders for specific entries or add prope rties to fo lder on creation

Ria Marinussen marinus@cs.utwente.nl
Wed, 10 Apr 2002 09:31:46 +0200


Hi Dieter,

thanks, this is exactly what I needed!

Greetings,
Ria



>  > Is it possible to look inside folders during the 
> generating of this list of
>  > URL's ?
> Sure:
> 
> 	<dtml-in expr="..." prefix=MyList>
> 	  <dtml-let folder="MyList_item"> <!-- this is the 
> current folder
> 					       may be, there 
> should be not "_"
> 	                                   -->
>              <dtml-if "_.hasattr(folder.aq_explicit,'What you 
> are lookin for')">
> 	         ....
>              </dtml-if>
> 	  </dtml-let>
> 	</dtml-in>
> 
> 
> Dieter
>