Daniel Nouri <[EMAIL PROTECTED]> writes:

> Robert Niederreiter writes:
> > Am Mittwoch, den 16.07.2008, 16:24 +0200 schrieb Daniel Nouri:
> >> Where would we need overrides.zcml?
> > in the case where ICMFAddForm is no longer my interface to look up. then
> > i have to overwrite the traverser.
> Why would ICMFAddForm no longer be the interface to look up?  It's the
> the only type of add form that promises to do something meaningful with
> the 'portal_type' attribute that's set on it in the traverser.

And even if it weren't - we shouldn't hardcode the traversal adapter. We should
make this a convenient implementation option. The actual URL of the add view
should configurable via a TALES expression, which means that it can be written
without the @@add bit.


Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to