[Zope-CMF] [dev] 'add' actions and views - a proposal
yuppie
y.2008 at wcm-solutions.de
Mon Sep 22 05:38:26 EDT 2008
Martin Aspeli wrote:
> Wichert Akkerman wrote:
>> Why not a ++add++ traverser? Aren't traversed supposed to be used for
>> that kind of thing? Or does a view gives us something here that a
>> traverser doesn't?
>
> Namespace traversal adapters are similar to IPublishTraverse solutions.
> The difference is that the namespace traversal adapter normally returns
> something "containerish" from which traversal continues. I think it's
> intended mostly as a "redirect" to a different traversal namespace, e.g.
> in the way that plone.app.portlets has namespaces for portlet managers.
I don't think a containerish return value is characteristic for
namespace adapters. For example the ++view++ traverser usually doesn't
return something containerish.
I now implemented an ++add++ traverser in my sandbox and it seems to
work fine.
Cheers, Yuppie
More information about the Zope-CMF
mailing list