[Zope] Image button values

Phil Harris phil@media-1.ml.uwcm.ac.uk
Wed, 10 Mar 1999 14:29:07 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_0082_01BE6B02.5AE423C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

I'm using some image buttons and am having trouble getting the return =
values for them.

I have a button called answerbtn and the return values would be =
'answerbtn.x' and 'answerbtn.y', I need to check one of these values to =
check whether this button was pressed.

I have tried _['answerbtn.x'] but I get a traceback from Zope.

Any Ideas?

TIA

Phil
phil@media-1.ml.uwcm.ac.uk


------=_NextPart_000_0082_01BE6B02.5AE423C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML><HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<STYLE></STYLE>

<META content=3D'"MSHTML 5.00.0910.1309"' name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm using some image buttons and am =
having trouble=20
getting the return values for them.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a button called answerbtn and =
the return=20
values would be 'answerbtn.x' and 'answerbtn.y', I need to check one of =
these=20
values to check whether this button was pressed.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have tried _['answerbtn.x'] but I get =
a traceback=20
from Zope.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any Ideas?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>TIA</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Phil</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:phil@media-1.ml.uwcm.ac.uk">phil@media-1.ml.uwcm.ac.uk</A>=
</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0082_01BE6B02.5AE423C0--