[Zope3-dev] Re: __name__ in auto generated addforms

Ruslan Spivak rspivak at nuxeo.com
Sat May 21 19:31:04 EDT 2005


В Сбт, 21/05/2005 в 19:33 +0200, Florian Lindner пишет:
> Hello,
> is it possible to let the user enter the name of a object (the __name__ 
> attribut) in forms that are auto generated from schema data (via the addform 
> directive)?
> 
> Thanks,
> 
> Florian

Hi, Florian.

You need create adapter to zope.app.container.interfaces.INameChooser
and register it for your xxx interface.

Take a look at bugtracker application inside zope, it contains example
of INameChooser usage.

Regards,
Ruslan




More information about the Zope3-dev mailing list