鉴于这Products.Five
是使 Zope 组件架构 (ZCA) 在 Plone 中可用的集成层:
- 是否可以在 Plone 中使用 zope.publisher.browser 或者我必须使用 Products.Five.browser 来导入 BrowserView?
前者产生回溯:
2015-06-04 14:47:02 ERROR Zope.SiteErrorLog 1433443622.720.549321919726 http://localhost:8080/Plone/@@hello
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module zope.publisher.browser, line 968, in __call__
NotImplementedError: Subclasses should override __call__ to provide a response body
而后者“正常工作”