[Zope] paramters to sql methods have to be in REQUEST????
Jay, Dylan
djay@lucent.com
Thu, 29 Jul 1999 16:37:35 +1000
> -----Original Message-----
> From: Michel Pelletier [mailto:michel@digicool.com]
> Sent: Thursday, July 29, 1999 16:30
> To: Jay, Dylan
> Cc: 'zope@zope.org'
> Subject: Re: [Zope] paramters to sql methods have to be in REQUEST????
>
>
> "Jay, Dylan" wrote:
> >
> > Why is it that
> >
> > <!--#with "_.namespace(MatchPattern=bits[0])"-->
> > <!--#var ChoosePart-->
> > <!--#/with-->
> >
> > doen't work and
> >
> > <!--#call "REQUEST.set('MatchPattern',bits[0])"-->
> > <!--#var ChoosePart-->
> > does??????
> >
> > Is this a bug? If so can it be fixed as it is annoying.
>
> This is not a bug. ZSQL methods take keyword arguments, or snif
> REQUEST, but do not sniff the namespace. This is because the
> namespace
> could be huge.
But how is that any different from inside a DTML method. The namespace is
huge there too.
> Try:
>
> <!--#var "ChoosePart(MatchPattern=bits[0])"-->