[Zope] DTML-LET problems

Andy Dawkins andyd@nipltd.com
Fri, 8 Dec 2000 14:52:55 -0000


Mohan
try this,

<dtml-let the_current_user="REQUEST.AUTHENTICATED_USER.getUserName()">
    <dtml-var the_current_user>
</dtml-let>

-AndyD

> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Mohan
> Baro
> Sent: 08 December 2000 14:41
> To: zope@zope.org
> Subject: [Zope] DTML-LET problems
> 
> 
> Why doesn't the following code work?
> How do I achieve the desired functionality?
> 
> 
> <dtml-let the_current_user="<dtml-var 
> "AUTHENTICATED_USER.getUserName()">">
>     <dtml-var the_current_user>
> </dtml-let>
> 
> Mohan.
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>