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,
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
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')
...