[Zope] forms: copying objects from request to request

Steven Grimes sgrimes@acceleratedtechnology.com
Mon, 28 Jan 2002 12:26:33 -0600


Panos,

Try assigning the variable x to a hidden field in the form on DocumentB. It
should then be carried over to DocumentC in the form section of the REQUEST
object.


Thanks,
Steven Grimes
Database Engineer
sgrimes@acceleratedtechnology.com <mailto:sgrimes@acceleratedtechnology.com>

Accelerated Technology, Inc.
720 Oak Circle Drive East
Mobile, AL 36609
TEL: 251-661-5770
FAX: 251-661-5788
www.acceleratedtechnology.com <http://www.acceleratedtechnology.com>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Over Ten Years of Providing Embedded Solutions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Panos
Hilaris
Sent: Monday, January 28, 2002 12:09 PM
To: zope
Subject: [Zope] forms: copying objects from request to request


I have the following problem:

I have a form in dtml documentA where there is some variable x and the
user gives some value to x, using the form. The dtml document associated
with the action of the form of DocumentA is called DocumentB. If the
submit button is pressed, DocumentB is loaded and the variable x is
visible from REQUEST. Let's say DocumentB has also a form in it where
there is some other variable (but not x). The form in DocumentB has
associated with the action another document, called DocumentC. If the
submit button is pressed DocumentC is loaded. Variables in form of
DocumentB are visible from DocumentC. However, variable x in form of
DocumentA is not visible from DocumentC. What should I do, in order to
use the value of variable x in DocumentC. I believe I must, somehow,
copy the value of x from REQUEST of A to B to the new REQUEST from B to C.


?hanks in advance,
Panos Hilaris



_______________________________________________
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 )