On Wednesday 02 Oct 2002 9:31 am, Oliver Bleutgen wrote:

> Hi all, I have some questions.
> Say I have a external method/product method return_vars which I call
> from a form:
>
> def return_vars(self, var=None, **kw):
>    return "var: %s, kw: %s" % (var,kw)
>
>
> Is it correct that any passed form variable besides "var" will get lost,

It wont be copied into kw.

> i.e. that ZPublisher will _not_ marshall the other variables into the
> method call?

Would you really want all of them? All those that come from query string? http 
headers? cookies? environment variables?

You can get sane access to all of these through the REQUEST parameter. Im sure 
you know that.

> Where does this marshalling happen, in ZPublisher/mapply.py?

yes


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to