[Zope] form action with python script

Sabrina sabrina@madisoncomunicacao.com.br
Mon, 6 Aug 2001 09:15:05 -0300


This is a multi-part message in MIME format.

------=_NextPart_000_0153_01C11E58.480C8560
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I'm working with a Python Script in Zope but I'm having some problems. =
I'm trying to call a python script in a "form action" because I have to =
make some calculations with some values of this form. I call like this: =
<form name=3D"form1" action=3D"a_python_script">
but normally a form action calls another page.
So, the question is: I'd like to call a python script and, in this =
script, make a redirect to another page(url). Can I do that??

I hope you can help me :)
Sorry if I'm not being clear!

Sabrina Araujo.

------=_NextPart_000_0153_01C11E58.480C8560
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm working with a&nbsp;Python Script =
in Zope but=20
I'm having&nbsp;some problems. I'm trying to call a&nbsp;python script =
in a=20
"form action" because I have to make some calculations with some values =
of this=20
form. I call like this: &lt;form name=3D"form1"=20
action=3D"<EM>a</EM>_<EM>python_script</EM>"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>but normally a form action calls =
another=20
page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So, the&nbsp;question is: I'd like to =
call a python=20
script and, in this script, make a redirect to&nbsp;another page(url). =
Can I do=20
that??</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I hope you can help me :)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sorry if I'm not being =
clear!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Sabrina=20
Araujo.</FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0153_01C11E58.480C8560--