[Zope] debugging question
Dieter Maurer
dieter@handshake.de
Sun, 4 Aug 2002 23:45:52 +0200
3205 5361 1215 9784 writes:
> how do i pass arguments to methods called by ZPublisher.Zope?
>
> i want to debug a function which accepts a tuple as parameter...
>
> how do i publish it?
>
> ZPublisher.Zope('/path/to/method',d=1, ????
You can pass them via the "query_string" of your URL.
ZPublisher.Zope('/...?arg1=val1&arg2=val2&...')
You may need to "url_quote_plus" (from "urlib import quote_plus")
the values.
Dieter