--On 9. Juni 2007 14:09:15 -0400 Tom Von Lahndorff [EMAIL PROTECTED] wrote:
Hi,
I have a zCatalog installed and I'm trying to automatically catalog an
object and it's properties using:
dtml-with manage_clone(base_business,newid,REQUEST)
dtml-call manage_changeProperties(
On Jun 10, 2007, at 2:49 AM, Andreas Jung wrote:
--On 9. Juni 2007 14:09:15 -0400 Tom Von Lahndorff
[EMAIL PROTECTED] wrote:
Hi,
I have a zCatalog installed and I'm trying to automatically
catalog an
object and it's properties using:
dtml-with
Tom Von Lahndorff wrote at 2007-6-9 14:09 -0400:
...
dtml-call zCatalog.catalog_object(business_name,newid)
You try to catalog business_name which is likely a string.
You should not expect that cataloging a string affects many
indexes ;-)
You what to catalog the cloned object.
I think (but I
Andreas Jung wrote at 2007-6-10 08:49 +0200:
...
newob = container.manage_clone(...)
newob.manage_changeProperties(REQUEST=context.REQUEST)
catalog.catalog_object(...)
Minor remark:
Usually, it is a bad idea to call manage_changeProperties
(or other mange* methods) with a REQUEST argument.
Hi,
I have a zCatalog installed and I'm trying to automatically catalog
an object and it's properties using:
dtml-with manage_clone(base_business,newid,REQUEST)
dtml-call manage_changeProperties(
title=REQUEST['business_name'],
business_name=REQUEST['business_name'],