30 Mar
2003
30 Mar
'03
5:30 p.m.
vasanthsena x wrote:
Can anyone tell me what OFSP is.
Please use subjects with meaning... OFSP probably stands for Object File System Product (taken from http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html#ftn.c37ac15c1...). It gives you a hook to the constructors defined in additional Zope-Products.
Also is it possible to write a python script that adds new folders in zope.
You can use context.manage_addFolder('test',title='Testfolder') or context.manage_addProduct['OFSP'].manage_addFolder('test1','Testfolder1') Generally: If you want to call the constructor of a special product, in most cases something like this should work: context.manage_addProduct['SpecialProduct'].manage_addSpecialProduct(id,title) --Cheers, Maik