Mohan
try this,

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

-AndyD

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mohan
> Baro
> Sent: 08 December 2000 14:41
> To: [EMAIL PROTECTED]
> 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  -  [EMAIL PROTECTED]
> 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 )
> 

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to