14 Nov
2001
14 Nov
'01
9:37 p.m.
Chris Bruce writes:
Is there any way to add a ZClass to a folder using python only? I have been able to do this with dtml by calling the xxx_add dtml method in the ZClass like such:
<dtml-with "manage_addProduct['Feedback']"> <dtml-call "Feedback_add(_.None,_,NoRedir=1)"> </dtml-with> Already answered in the mailing list (--> archives):
product= context.manage_addProduct['Feedback'] product.Feedback_add(None,product,NoRedir=1) Dieter