[Zope] Solved: AttributeError __getslice__ from Zope Construction Kit book
hpinson@indepthl.com
hpinson@indepthl.com
Tue, 03 Jun 2003 13:30:23 -0600
Dieter, thanks. The solution was fairly simple-- the book appears to
have an error:
Zope Web Application Construction Kit
Page 217
addTermpaper.py
Instead of:
return
context.manage_addProduct['SchoolProjects'].TermPaperClass.createInObj
ectManager(id,context,REQUEST)
should be:
context.manage_addProduct['Unit
Folder'].UnitClass.createInObjectManager(id,context.REQUEST)
return id
with a parameter of id
Harlow Pinson
Indepth Learning
Email: hpinson@indepthl.com
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678