[Zope] Determining object type
Sherman Lambert (State Office)
sherman.lambert@state.co.us
Wed, 6 Mar 2002 09:25:55 -0700
Hey there,
I have a in loop which iterates over two different types of objects. I need
to know which type of object I am dealing with in each iteration. This
can't be hard , but I cannot find it in the docs.
<dtml-in expr="(objectValues('type1')) + (objectValues('type2')">
<dtml-if {I want type 1 here}>
processing
<dtml-else {type2 by default}>
processing
</dtml-if>
</dtml-in>
TIA
Sherman