On Mon, Jan 08, 2007 at 06:24:17PM +0100, David Johnson wrote:
> Is it possible to have both a NameChooser and an ObjectRenamer. If
> so...how? It seems that zope.app.container.browser contents.py has
> the following code:
>
> self.supportsRename = (
> self.supportsCut and
Okay. Since I didn't get a response I assumed no one else knew
either. I figured out the following:
1. Since I have a custom container that is derived from IContainer,
it is already configured as a IContainerNamesContainer, and if I
override chooseName() and checkName(), I get the desired e
Is it possible to have both a NameChooser and an ObjectRenamer. If
so...how? It seems that zope.app.container.browser contents.py has
the following code:
self.supportsRename = (
self.supportsCut and
not IContainerNamesContainer.providedBy(self.context)