[Zope] Is it a DTML method, Document, folder, or image?

Andy McKay andym@ActiveState.com
Mon, 9 Jul 2001 15:29:51 -0700


By type you probably mean meta_type:

<dtml-in objectValues>
 <dtml-var meta_type><br>
</dtml-in objectValues>

You dont need to do a wildcard, just check if the first 9 characters match:

<dtml-in objectValues>
  <dtml-if "getId()[:9] == 'Editable_'">Found one<br></dtml-if>
</dtml-in objectValues>

Cheers.
--
  Andy McKay.