RE: [Zope] ZSQL Method & AUTHENTICATED_USER

2000-10-18 Thread steve smith
lto:[EMAIL PROTECTED]]On Behalf Of Jon Prettyman Sent: Thursday, 19 October 2000 8:18 To: [EMAIL PROTECTED] Subject: Re: [Zope] ZSQL Method & AUTHENTICATED_USER I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specif

Re: [Zope] ZSQL Method & AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
Thanks. It was a syntax issue. I think I tried every single variation on passing variables to the method except that one. Sorry for the bother, folks... :-) On 18 Oct 2000, Jon Prettyman wrote: > I'm pretty sure that all variables have to be passed in explicitly > with SQLMethods. Namespaces

Re: [Zope] ZSQL Method & AUTHENTICATED_USER

2000-10-18 Thread Jon Prettyman
I'm pretty sure that all variables have to be passed in explicitly with SQLMethods. Namespaces are not passed in. Try specifying username as an argument in the ZSQLMethods edit form and pass it in like this: (Untested) -jon Aaron Straup Cope <[EMAIL PROTECTED]> writes: > Hi, > > I'm

[Zope] ZSQL Method & AUTHENTICATED_USER

2000-10-18 Thread Aaron Straup Cope
Hi, I'm trying to perform a simple MySQL lookup based on the AUTHENTICATED_USER. When I test the ZSQL method from the management interface, everything works fine. However, when I try to call the method from a DTML document, [it] returns nothing. Is this a namespace issue? I'm stumped and hoping