[z3-five] Re: no joy with the registerClass directive
Helmut Merz
helmutm at cy55.de
Tue Feb 7 20:32:57 CET 2006
Am Dienstag, 7. Februar 2006 19:43 schrieb Lennart Regebro:
> On 2/7/06, Paul Winkler <pw_lists at slinkp.com> wrote:
> > The problem is that it points to "+/name-of-my-add-view"
> > and zope 2 doesn't seem to know how to traverse "+".
>
> Yeah, that's right, for that to work there needs to be a view
> called + onto IObjectManager
which can be set up via a
<browser:addform ... />
directive.
In addition you need something like
<five:traversable class="OFS.Folder.Folder" />
to get access to this view from a normal folder.
> that keep a list of all the
> registered add views, and evidentlythere isn't one.
>
> > Does anybody have this working?
I had this working but it screwed up a ZMS site in my Zope
instance (ZMS does some strange things with __bobo_traverse__ I
think), so I had to remove the <five:traversal ... /> again.
But this is surely only a problem with OFS.Folder and ZMS.
Helmut
More information about the z3-five
mailing list