[Zope] passing *args to external method

Andreas Jung lists at zopyx.com
Tue Sep 12 13:33:26 EDT 2006



--On 12. September 2006 18:26:20 +0100 Alan <alanwilter at gmail.com> wrote:

>>
> it returns values of arg1 and arg2. But my problem is that the number
> args cannot be fixed since such arguments depends on other page.

All form parameter are available from the REQUEST.form.
self.REQUEST gives you the REQUEST object inside an external method. 'form'
is basically a dict-like object so you can use the standard Python methods
for dicts for doing whatever you want.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060912/fa8b2828/attachment.bin


More information about the Zope mailing list