> But when I then do a
>   <dtml-if "REQUEST.AUTHENTICATED_USER == auth_user "> Hello </dtml-if>,
> nothing happens, and that is not what I am expecting.
> 
> Can anybody please explain and help me out?

REQUEST.AUTHENTICATED_USER returns a User object, not a string. You want:

<dtml-if "REQUEST.AUTHENTICATED_USER.getUserName() == auth_user">

--jfarr



_______________________________________________
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