[Zope3-Users] Create complex object

Achim Domma domma at procoders.net
Thu May 25 04:42:09 EDT 2006


Achim Domma wrote:

> class IWorkspace(Interface):
[...]

> <browser:addform
>     label="Add proCoders Article"
>     name="AddArticle.html"
>     schema="proCoders.interfaces.IArticle"
>     content_factory="proCoders.Article.Article"
>     permission="zope.ManageContent"
>     fields="title"
>     />
[...]

Thanks to Frank for his solution, but I should not post messages late at 
night: I simply added the fields="title" attribute to the wrong 
browser:addform.

If I add the attribute to the right tag, it works fine. Just for the 
records, in case somebody has the same problem.

regards,
Achim


More information about the Zope3-users mailing list