[Zope] Re: list of users tied to database
   
    gotcha@swing.be
     
    gotcha@swing.be
       
    Wed, 13 Sep 2000 16:03:16 +0200 (MET DST)
    
    
  
Quoting :
> on 13/9/00 2:47 pm, gotcha@swing.be at gotcha@swing.be wrote:
> 
> > I am still a newbie, but I wonder if you can use the 
sequence-item of
> > a enclosing dtml-in inside the definition of a nested dtml-in
> 
> yeah, I think I"ve done this before by using a <dtml-let.... 
to set a
> variable, but can't for the life of  me work out how to do it
> 
> <dtml-in "theOTHERintranet.acl_users.getUserNames()">
>   <dtml-in "get_email('UserName=<dtml-var sequence-item>')">
>     <dtml-var Email><br>
>  </dtml-in>
> </dtml-in>
So maybe, you could try something like changing your previous 
code to 
<dtml-in "theOTHERintranet.acl_users.getUserNames()">
  <dtml-let TheUserName==<dtml-var sequence-item>
    <dtml-in "get_email('UserName=<dtml-var TheUserName>')">
      <dtml-var Email><br>
    </dtml-in>
  </dtml-let>
</dtml-in>
Hope it can help,
Godefroid Chapelle
---------------------
BubbleNet sprl
rue Victor Horta 30
1348 Louvain-la-Neuve 
Belgium
---------------------------------------------------------------------
This mail sent through SwinG Webmail: http://mail.swing.be