18 Sep
2003
18 Sep
'03
7:17 p.m.
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