24 Nov
2009
24 Nov
'09
5:10 a.m.
Matthew Wilkes wrote:
Right, but I think mixing the two is just going to be confusing. Your alternative spelling may well be useful, but only if it works within the confines of the ZCA itself, otherwise you're just hijacking the component root for your own (nefarious) purposes.
The site manager != the component site. In Plone, getSite() returns the Plone site object; getSiteManager() returns an IComponents instance or whatever that interface is. So making that implement the dict API is OK. Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book