[Zope] Critical Question for Dieter - Testing with <dtml-in Catalog>

Michael mlewis@exasource.com
Wed, 15 May 2002 02:10:08 -0600


Bakhtiar,

Thanks!!! That did it.  How did you learn this?  Is this documented 
somewhere?  You are really a life saver. I was using the other syntax 
because it worked for me when calling in a list.

Michael

Bakhtiar A Hamid wrote:


> 
> what's the username index in the Catalog?
> 
> let's say the index is u_name
> 
> <dtml-if "Catalog(u_name={'query':_['username']})">
> user exist
> <dtml-else>
> do your thang here
> </dtml-if>
> 
> this code is untested, and i claim no responsibility for any data munged, zope 
> instance sank, etc, etc
> 
> hth