[Zope] help with #in expr= syntax . .

David Wagle david.a.wagle@healthpartners.com
Tue, 9 Feb 1999 14:42:48 -0600 (CST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Ok, here's one . . . .how do I get hte following to work?

<TABLE BORDER=1 WIDTH="100%">	
  <!--#in proc_role-->
       <TR>
     <TD ALIGN=center>
       <P>
       <!--#in expr="pri_nick_email(role='<!--#var sequence-item-->')"
                 -->
       <A HREF="mailto://<!--#var email-->">
        <!--#var nick--> </A>
       <!--#/in--> 
   
      </P>
    </TD>
   </TR>  
  <!--#/in-->
</TABLE>

basically, I have a database of usernicks and email addresses which
are associated with various user roles.

The database guarantees that each role has ONE adn ONLY ONE user
associated with the primary field (hence pri_nick_email)

If I take out the #var statement in my <!--#in exr . . .--> statement
and replace it with a valid token from proc_role, it works just fine.

How do I get it to iterate over the list and return the query results?

I've tried a number of syntax variations, but I'm missin something
here . .. 

- -daw

- ---------------------------------------------
A computer without Microsoft products is like
a dog without bricks chained to its head
- ---------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface
Charset: noconv

iQA/AwUBNsCdxdtGhckXZmDjEQIIJACg4O86WJ0ZI9HJDV99cxYnZ4YR1xcAoLIU
SivLkP4ArztKkWvQ2/i48jAR
=cAGb
-----END PGP SIGNATURE-----