[Zope-dev] syntax error

Federico Di Gregorio fog@mixadlive.com
Wed, 10 May 2000 21:24:18 +0200


Scavenging the mail folder uncovered josh on's letter:
> Hello,
> 
> Thanks for the useful explanations before, I now have another small problem:
> 
> this produces a syntax error and I am really not sure why:
> 
> <dtml-call "['parent_id'].manage_change properties ({
> 'children' : children
> })">

the ['parent..] is a subscript to... nothing! try to change it to:

	_['parent_id']

ciao,
federico

-- 
Federico Di Gregorio
MIXAD LIVE System Programmer                           fog@mixadlive.com
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
           Nobody will ever need more than 640k RAM! -- Bill Gates, 1981
           Windows 95 needs at least 8 MB RAM.       -- Bill Gates, 1996
           Nobody will ever need Windows 95.       -- logical conclusion