Shane Hathaway wrote:
> Chris Withers wrote:
> > I'm still not clear on this. Why would I need access to the product
> > factory when where.manage_addFolder(id,title) works just fine?
> > I thought manage_addFolder was the product factoy method?
> 
> manage_addFolder() is to be considered a shortcut, actually.  The full
> equivalent would be manage_addProduct['OFSP'].manage_addFolder().  If
> you look at Products/OFSP/__init__.py, you'll see there's the class
> registration for the "Folder" type.  In the registration call you'll
> see it uses the argument name "legacy", which suggests that the
> manage_addFolder shortcut may be deprecated.

Okay, that makes sense :-)

cheers,

Chris

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to