RE: [Zope] HEAD method in 2.0.0b1
3 Aug
1999
3 Aug
'99
3:36 p.m.
From: Brian Lloyd <Brian@digicool.com>
Is 'addPostingForm' a Zope object (DTML Document / Method) or a Python method?
It is a DTML method that is added programaticaly when an article is created. self.defaultDocFile('addPostingForm','Add Posting Form', 'Squishdot/addPostingForm') def defaultDocFile(self,id,title,file): f=open('%s/Products/%s.dtml' % (SOFTWARE_HOME,file)) file=f.read() f.close() self.manage_addDTMLMethod(id,title,file) The entire code is in the Squishdot product available on the Zope web site. Thanks Bruce
9743
Age (days ago)
9743
Last active (days ago)
0 comments
1 participants
participants (1)
-
bruce@perens.com