Re: [Zope-dev] manage_clone? (amongst others!)
11 Jul
2000
11 Jul
'00
1:28 p.m.
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
9417
Age (days ago)
9417
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Withers