24 Feb
2003
24 Feb
'03
8:08 p.m.
Sridevi Vanka wrote at 2003-2-23 20:08 -0800:
... <dtml-with "manage_addProduct[ 'xxxxx' ]"> <dtml-call "Newcommit.createInObjectManager(REQUEST[ 'id' ], REQUEST )"> ... So I tried the change properties using the following line under the <dtml-with> tag:
<dtml-call "propertysheets.public.manage_editProperties(REQUEST)">
But it gives me an error saying
Error Type: Attribute error Error Value: Public
Your "dtml-with" refers to the product and it does not know about propertysheets. You need an additional "dtml-with" for the newly created instance <dtml-with "manage_addProduct[ 'xxxxx' ]"> <dtml-with "Newcommit.createInObjectManager(REQUEST[ 'id' ], REQUEST)"> <dtml-call "propertysheets...."> Dieter