[Zope] Image button values

Phil Harris phil@media-1.ml.uwcm.ac.uk
Wed, 10 Mar 1999 15:40:28 -0000


Hmm,

More on the image button saga.

It seem's that <!--#var answerbtn.x--> does indeed work, but <!--#var
_['answerbtn.x']--> doesn't, and neither does the getitem way.

Seems weird to me, any ideas?

TIA

Phil

----- Original Message -----
From: Phil Harris <phil@media-1.ml.uwcm.ac.uk>
To: <zope@zope.org>; Martijn Pieters <mj@antraciet.nl>
Sent: Wednesday, March 10, 1999 3:21 PM
Subject: Re: [Zope] Image button values


>Martijn,
>
>I tried it again, and it worked!
>
>It was my fault it didnt work in the first place 8^(
>
>Sorry for wasting your time
>
>Phil
>----- Original Message -----
>From: Martijn Pieters <mj@antraciet.nl>
>To: Phil Harris <phil@media-1.ml.uwcm.ac.uk>; <zope@zope.org>
>Sent: Wednesday, March 10, 1999 3:01 PM
>Subject: Re: [Zope] Image button values
>
>
>>At 15:53 10/03/99 , Phil Harris wrote:
>>>Thanks for the suggestion Martijn but I've already tried that and it does
>>>indeed show variables of the form 'answerbtn.x'.  But when I try to
access
>>>them using one of:
>>>
>>><!--#var answerbtn.x--> or
>>><!--#var _['answerbtn.x']--> or
>>><!--#var _.getitem('answerbtn.x')-->
>>>
>>>I get a traceback error, so I am none the wiser 8^(
>>>
>>>Thanks anyway
>>>
>>>Any other ideas?
>>>
>>
>>Hmm.. I just tested this, but I had no problem accessing <!--#var
>>answerbtn.x--> on Zope 1.10.2....
>>
>>--
>>M.J. Pieters, Web Developer
>>| Antraciet http://www.antraciet.nl
>>| Tel: +31-35-6254545 Fax: +31-35-6254555
>>| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
>>| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
>>------------------------------------------
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(For developer-specific issues, use the companion list,
>zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )