Folderish object detecting when an object is added to it?
Hi, I got a product that inherits Folder and allows other objects to be stored in it. I use the add method of the object being added, so in the management page of the product I use <INPUT TYPE=submit NAME="manage_addProduct/OFSP/documentAdd:method" VALUE="Add Document"> to store a new DTML document. My problem is that the product has to perform certain actions when an object has been added to it. It would be easy if adding the object was done using a method of the product, but then I can't use the DTML Document add page and I have to create my own. So what I think I need is either for the product to be informed of the new object after it's created, or for the product to bring up the DTML Document add page from inside a method. Is either of these possible? Thanks Itai Tavor -- Itai Tavor -- "Je sautille, donc je suis." -- itavor@vic.bigpond.net.au -- - Kermit the Frog -- -- 'Supposing a tree fell down, Pooh, when we were underneath it?' -- -- 'Supposing it didn't,' said Pooh after careful thought. --
participants (1)
-
Itai Tavor