[Zope-dev] Re: Zope-Dev Digest, Vol 11, Issue 7
Willie Martin
Willie.Martin at noaa.gov
Mon Jun 7 08:55:27 EDT 2004
This is not about zope but the email itself. The date of the email
shows up as 12/31/1969 in my netscape mail client
zope-dev-request at zope.org wrote:
>Send Zope-Dev mailing list submissions to
> zope-dev at zope.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.zope.org/mailman/listinfo/zope-dev
>or, via email, send a message with subject or body 'help' to
> zope-dev-request at zope.org
>
>You can reach the person managing the list at
> zope-dev-owner at zope.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Zope-Dev digest..."
>
>
>------------------------------------------------------------------------
>
>Today's Topics:
>
> 1. Arbitrary Arguments? (Marshall Powers)
> 2. Re: Arbitrary Arguments? (Stefan H. Holek)
>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> [Zope-dev] Arbitrary Arguments?
> From:
> Marshall Powers <mpowers1 at stevens.edu>
> Date:
> Sat, 05 Jun 2004 19:16:32 -0400 (EDT)
> To:
> zope-dev at zope.org
>
>
>Can Script(Python) objects be given arbitrary arguments, with either
>the *name or **name style of argument passing from Python? What about
>Product methods?
>
>I've been trying to get this to work for a while now, and my tests and
>searches seem rather futile. If I write a Script with arguments
>
>foo, *args
>
>or
>
>foo, **dict
>
>and call it with a url like .../Test?foo=abc&bar=def&baz=ghi
>
>and print the arguments, the foo variable has the correct value, but
>the args/dict variable is just an empty tuple or dictionary
>(respectively). The REQUEST variable does contain keys 'foo', 'bar',
>and 'baz', but the args/dict variables never get them. Pretty much the
>same thing happens when I try to do the same in a Product method.
>
>So what is the deal?
>
>
>Thank You =)
>
>Marshall
>
>
>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [Zope-dev] Arbitrary Arguments?
> From:
> "Stefan H. Holek" <stefan at epy.co.at>
> Date:
> Sun, 6 Jun 2004 14:26:58 +0200
> To:
> Marshall Powers <mpowers1 at stevens.edu>
>
>
> ZPublisher can only fill in arguments it knows about, i.e. that are
> mentioned in the script's signature.
>
> Stefan
>
>
> On Sonntag, Jun 6, 2004, at 01:16 Europe/Vienna, Marshall Powers wrote:
>
>> So what is the deal?
>
>
> --
> The time has come to start talking about whether the emperor is as well
> dressed as we are supposed to think he is. /Pete McBreen/
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Zope-Dev maillist - Zope-Dev at zope.org
>http://mail.zope.org/mailman/listinfo/zope-dev
>
>(To receive general Zope announcements, see:
>http://mail.zope.org/mailman/listinfo/zope-announce
>
>For non-developer, user-level issues,
>zope at zope.org, http://mail.zope.org/mailman/listinfo/zope )
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20040607/013e11d9/attachment.html
More information about the Zope-Dev
mailing list