Re: [Zope-dev] More ZSQL weirdness (this time with Python Scripts ;-)

2001-03-23 Thread Chris Withers
Dieter Maurer wrote: > > > Error Type: Bad Request > > Error Value: ['sec'] > This is an old one > > ZSQL method's do not use the DTML namespace (where you "sec" goes to) Slaps forhead Thankyou, I wonder what needs to be done to make ZSQL methods work like everything else? cheers,

Re: [Zope-dev] More ZSQL weirdness (this time with Python Scripts ;-)

2001-03-22 Thread Dieter Maurer
Chris Withers writes: > I had the following line in a dtml method, x_report, generated by 'Add Z Search > Interface': > > > where x is a ZSQL Method that takes one parameter: sec > > Now, when I try to call x_report from a python script, my_ps, as follows: > > return container.x_r

[Zope-dev] More ZSQL weirdness (this time with Python Scripts ;-)

2001-03-22 Thread Chris Withers
Hi, I had the following line in a dtml method, x_report, generated by 'Add Z Search Interface': ...where x is a ZSQL Method that takes one parameter: sec Now, when I try to call x_report from a python script, my_ps, as follows: return container.x_report(context,context.REQUEST,sec='XXX') ...