5 Jun
2001
5 Jun
'01
7:44 a.m.
I am new with zope and i am trying to foundout something i found in the zope book on www.zope.org.
From the zope book i found this piece of code to create an entry in a guest book
""" Create a guest book entry. """ # create a unique document id id='entry_%d' % len(context.objectIds()) # create the document context.manage_addProduct['OFSP'].manage_addDTMLDocument(id, title="", file=comments) # add a guest_name string property doc=getattr(context, id) doc.manage_addProperty('guest_name', guest_name, 'string') My questions are: what does OFSP means and how do I create the entry in another folder eg. GuestBookEntries? Please help me.
9094
Age (days ago)
9094
Last active (days ago)
0 comments
1 participants
participants (1)
-
r.laarhoven@aca.it