force setting up of target view on setupController to provide early registration of portlets and other stuff that may come too late when the content part ist rendered

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2302 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2008-01-08 12:49:28 +00:00
parent 5263601212
commit 31a6e91114

View file

@ -92,6 +92,8 @@ class NodeView(BaseView):
# register additional configurators (adapters) from within package.
cm.register('portlet_right', 'actions', title=_(u'Actions'),
subMacro=node_macros.macros['actions'])
# force early portlet registrations by target by setting up target view
self.virtualTarget
@Lazy
def view(self):