[Zope] list of users tied to database

Geir Bækholt Geir Bækholt <geirh@funcom.com>
Wed, 13 Sep 2000 15:47:10 +0200

on Wednesday, September 13, 2000 tom smith wrote :
ts> I'm trying to create a list of users' emails. There is a table called
ts> "tblUsers" and a field called "Email".
ts> I have created a sql method called "get_email(UserName)" which works fine.
ts> <dtml-in "theOTHERintranet.acl_users.getUserNames()">
ts>   <dtml-in "get_email('UserName=<dtml-var sequence-item>')">
ts> any ideas anyone?

Don't nest DTML inside DTML
try something like :
<dtml-in "get_email('UserName=_['sequence-item']')">

Geir Bækholt