[Zope] DTML Question

Dieter Maurer dieter@handshake.de
Wed, 10 Apr 2002 20:26:55 +0200


Michael writes:
 > This seems to work fine and it will pull up all the objects in the 
 > folder.  But when I try to get this to work with my Contacts Product or 
 > Folder, nothing happens.  I've tried to access my Catalog:
 > 
 >    <dtml-with "Contacts.Catalog">
 >      <dtml-if "contact_tracking() == '100467893'">
 >        <dtml-var contact_fname>
 >        <dtml-var contact_lname>
 >        <dtml-var contact_street>
 >        <dtml-var contact_city>
 >      </dtml-if>
 >    </dtml-with>
 > 
 > But nothing happens.  I tried to access my entries folder also:
Seems "contact_tracking()" returns something different from
"'100467893'". Add "1 or" before "contact_tracking" and see whether
the behaviour changes.


Dieter