Re: [Zope-dev] Adding a property to a batch of objects ?
Thanks, worked just like a beauty. I thought I tried that one, but I must have made a mistake :-) - Holger --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel : +49 40 890 646-0 Info: 0700 catWorkX ( 0700 22 89 67 59 ) Fax : +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de On Tue, 20 Mar 2001, Christian Scholz wrote: > Hi! > > > I wanted to do sonething like this: > > > > > > > You might want to use > (or objectItems). then just say > > > > or you might change the ... to > > > > (hope this is right, have not tested it.) > > First form directly builds a list of the objects instead of the > Ids, second form first looks up the id with _['sequence-item'] and > then looks up the object with that id in the local object (your folder). > > Hope this helps.. > > -- mr topf > > -- > COM.lounge http://comlounge.net/ > communication & design [EMAIL PROTECTED] > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Adding a property to a batch of objects ?
Hi! > I wanted to do sonething like this: > > > (or objectItems). then just say or you might change the ... to (hope this is right, have not tested it.) First form directly builds a list of the objects instead of the Ids, second form first looks up the id with _['sequence-item'] and then looks up the object with that id in the local object (your folder). Hope this helps.. -- mr topf -- COM.lounge http://comlounge.net/ communication & design [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Adding a property to a batch of objects ?
On Tue, 20 Mar 2001, Holger Lehmann wrote: > I wanted to do sonething like this: > > > > But I am missing the part :-( > I can happily add the property to myself or the folder above (if a DTML > Method is used) but I just cant seem to be able to add the property to an > object I want. I would have thought that this would work. ought to. Or, if they are zclass instances, .propertysheets..manage_addProperty... Of course, I'm saying this without testing anything, so caveat emptor. This would be a good thing to do in a pythonscript rather than a dtml method, by the way. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Adding a property to a batch of objects ?
Hi, I wanted to do sonething like this: mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )