[Zope] dtml-let vs. REQUEST.set
Andy Dustman
andy@dustman.net
Mon, 20 Aug 2001 14:01:09 -0400 (EDT)
When calling a Z SQL Method (with the user_id parameter)...
On Mon, 20 Aug 2001, McMains, Sean wrote:
<!-- doesn't work -->
> <dtml-let user_id="REQUEST.AUTHENTICATED_USER.getUserName()">
<!-- works -->
> <dtml-call "REQUEST.set( 'user_id',
> REQUEST.AUTHENTICATED_USER.getUserName())">
AFAIK, Z SQL Methods only get their parameters from REQUEST. (It's been a
long weekend, but I think that's what I remember.)
--
Andy Dustman PGP: 0xC72F3F1D
@ .net http://dustman.net/andy
I'll give spammers one bite of the apple, but they'll
have to guess which bite has the razor blade in it.