Re: [Zope-dev] manage_changeProperties in a loop

2001-01-17 Thread Arno Gross
On Wed, 17 Jan 2001, Casey Duncan wrote: > Try this: > > > index="_['sequence-index']"> > > > > > Also, why are you passing the folder ids in a string like this? Where > are these names coming from, a form? Yes, the names are coming from a from w

Re: [Zope-dev] manage_changeProperties in a loop

2001-01-17 Thread Casey Duncan
Arno Gross wrote: > > If I try your suggestion wiht _.getitem(_['sequence-item']) > (If I remember well this was the first I tried). > > > > > > > > > > > I get this error: File > D:\packages\Zope\WEBSIT~3\lib\python\DocumentTemplate\DT_In.py, line 691, in > renderwob

Re: [Zope-dev] manage_changeProperties in a loop

2001-01-17 Thread Arno Gross
If I try your suggestion wiht _.getitem(_['sequence-item']) (If I remember well this was the first I tried). I get this error: File D:\packages\Zope\WEBSIT~3\lib\python\DocumentTemplate\DT_In.py, line 691, in renderwob (Object: _.string.split(rangList,';

Re: [Zope-dev] manage_changeProperties in a loop

2001-01-16 Thread Steve Alexander
Arno Gross wrote: > Suppose I have a list of existing folder objects and depending > on their index in the list I want to set a property called 'rang'. > > I assumed you could something like this: > > > > (normally the list comes from outside) > > > Here, you're getting an item w

[Zope-dev] manage_changeProperties in a loop

2001-01-16 Thread Arno Gross
Suppose I have a list of existing folder objects and depending on their index in the list I want to set a property called 'rang'. I assumed you could something like this: (normally the list comes from outside) Any ideas or hints? Thanks Arno Gross,