[Zope] Desperately Seeking Zen...
Kevin Dangoor
kid@kendermedia.com
Tue, 25 Apr 2000 14:51:56 -0400
----- Original Message -----
From: "Steve Drees" <drees@the-bridge.net>
To: "Zope@Zope. Org" <zope@zope.org>
Sent: Tuesday, April 25, 2000 2:37 PM
Subject: [Zope] Desperately Seeking Zen...
> I tried applying some Zen I stole from
> http://www.zope.org/Members/jpenny/variable_length_forms
> but it's just not working. Anybody out there have some extra clue to pass
my
> way?
>
> <dtml-in "objectValues(['DTML Document'])">
> <dtml-call "manage_changeProperties({
> 'rank' : _['rank'+_['sequence-number']],
> 'artist' : _['artist'+_['sequence-number']],
> 'song' : _['song'+_['sequence-number']]
> })">
> </dtml-in>
My guess is that _['sequence-number'] is an int. You probably need to do:
_['rank'+_.str(_['sequence-number'])]
Kevin