[Zope] Re: verbose Security on 2.6.2?

Dieter Maurer dieter at handshake.de
Thu Sep 18 15:17:26 EDT 2003


Allen wrote at 2003-9-18 07:50 -0400:
 > Well then what do you suggest as the best way to do this?
 > 
 > This is what I came up with and seems to work:
 > --day1 is the lines property--
 > --textfield is the field from the form--
 > --jobfair200310 is the folder--
 > 
 > 
 > <dtml-if Submit>
 >   <dtml-if textfield>
 >    <dtml-call "REQUEST.set('day1',day1)">
 >    <dtml-call "day1.append(textfield)">
 >    <dtml-call "day1.sort()">
 >    <dtml-call expr="jobfair200310.manage_changeProperties({'day1' : day1})">
 > 	</dtml-if>
 > </dtml-if>

That's almost fine.

You do not need the "REQUEST.set", though.
It does not harm but it is unnecessary.

You can (and probably should) use
"...manage_changePropeties(day1= day1)".


Dieter



More information about the Zope mailing list