[Zope] DTML form to modifiy folder properties

Jens Vagelpohl jens at dataflake.org
Tue Sep 14 12:06:10 EDT 2004


On Sep 14, 2004, at 17:43, aschmidt at fredericksburg.com wrote:

> Have this DTML form that used to work with 2.6.
> A folder has a lines property called day1.
> User enters text in a field and submits.
> The current value of day1 is read into a variable.
> The new value is appended and sorted and manageChangeProperties called 
> and all is well.
>
> WAS well... now Zope complains that 'tuple has no method append'
>
> Did properties change in 2.7 ??

Yes. What you get back when you retrieve the property is a tuple 
instead of a list now. You will have to deal with that in your code.

jens

---------------

Jens Vagelpohl			jens at zetwork.com
Software Engineer			Zope - done medium rare
Zetwork GmbH				http://www.zetwork.com/



More information about the Zope mailing list