Re: [Zope-dev] A couple of ZPatterns questions

2000-10-15 Thread Itai Tavor
>At 06:15 PM 10/12/00 +1100, Itai Tavor wrote: > >Hi, >.. > >2. I want to store a list of products, and give each one an arbitrary >>number of photos. I can use a Product ZClass, subclassed from >>ObjectManager and store Image objects inside it. But what will happen >>to these objects if I u

Re: [Zope-dev] A couple of ZPatterns questions

2000-10-12 Thread Phillip J. Eby
At 06:15 PM 10/12/00 +1100, Itai Tavor wrote: >Hi, > >1. I want to set some object attributes every time the object is >changed (for example, to store the name of the user making the >change). I looked at using a Generic Trigger or a SkinScript but I >can't figure how to do it with either one.

[Zope-dev] A couple of ZPatterns questions

2000-10-12 Thread Itai Tavor
Hi, 1. I want to set some object attributes every time the object is changed (for example, to store the name of the user making the change). I looked at using a Generic Trigger or a SkinScript but I can't figure how to do it with either one. With a Trigger, I guess I need to set "Set Sttrs" t