[Zope] How to update list from dtml?

Jaroslav Lukesh lukesh at seznam.cz
Fri Apr 14 12:40:46 EDT 2006


> From: Jonathan [mailto:dev101 at magma.ca]
> Try:
> 
> <dtml-call "foo.append(3.5)">

I need to insert that at specific position, not append at end of the list.

Thanks, JL.

> ----- Original Message -----
> From: "Jaroslav Lukesh" <lukesh at seznam.cz>
> >
> > foo[1] = 3.5
> >
> > In DTML this does not work:
> >
> > <dtml-call "REQUEST.set('foo[1]', 3.5)">
> >
> >
> > Note, that I have list foo[,,,,,,,] already defined




More information about the Zope mailing list