8 Jun
2004
8 Jun
'04
7:56 p.m.
Small Business Services wrote at 2004-6-8 11:49 -0400:
... Here is the external method:
def mytest(self): recid = "100" newobj = self.WebSitesChildData.manage_addProduct['SWV2'].WebSites.createInObjectMana ger(self, recid, REQUEST) return newobj ... Module ZClasses.ZClass, line 449, in createInObjectManager Module ZPublisher.mapply, line 77, in mapply AttributeError: get
Apparently, the "REQUEST" above is not a request object (it does not have a "get" method). Try "self.REQUEST" instead. -- Dieter