I suppose I could also do this with a session object. What's the "right" way of doing it? But still, it would be nice to have the choice of passing things through the action. Tommy Johnson writes:
From: "Tommy Johnson" <tommy@7x.com> To: "Zope List" <zope@zope.org> Subject: RE: [Zope] can one pass values through the 'action' property? Date: Fri, 3 Aug 2001 19:34:11 -0800
Ok, I copied your scenario, and then printed out the REQUEST object. The only variable that shows up is submit, which means that Zope doesn't allow you to append querystring info in your form tag. That sucks.
I've always used hidden fields, but I see that you don't particularly care for that approach. Hmmmm..... any other ideas community?
Tommy
Innovation: The Best Way To Predict The Future ... Is To Create It.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Albert Ting Sent: Friday, August 03, 2001 4:49 PM To: zope@zope.org Subject: [Zope] can one pass values through the 'action' property?
I'm trying to do this:
<form action="get_row?row=3" method="POST"> ... <input type="submit" name="submit" value="submit"> .... </form>
However, "row" does not show up in the REQUEST namespace, even though a similar syntax works in a HREF tag. Can this be done? I know I can add a hidden input tag, but it's a little messier.
Thanks, Albert
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
____________________________________________