[Zope] TAL hasProperty

simon litwan simon@litwan.com
Fri, 4 Oct 2002 09:26:47 +0200


hello

i try to get list of objects with metatyp Folder AND the property show. is
it possible to do this with TAL?
or do i have to do this whith a python script?

the following code doesn't work but was an idea and shows what i mean.

<div tal:define="objects python:here.objectValues('Folder');
list_objects python:objects.hasProperty('show')"
tal:repeat="item list_objects">

thanx
simon

,-----------------------------------------------------.
| simon.litwan [farb ton form bearbeitung]            |
| around da world                                     |
| mailto:simon@litwan.com                             |
| pgpO¬ http://www.litwan.com/simon_at_litwan_dot_com |
`-----------------------------------------------------´