[Product-Developers] Create new plone.app.page type

Martin Aspeli optilude+lists at gmail.com
Thu Jul 21 10:18:51 UTC 2011


On 21 July 2011 08:53, Maarten Kling <maarten at fourdigits.nl> wrote:
> Hello Martin,
>
> I already got:
>
> -- person.py --
> class IPerson(IPage):
> """ my schema here"""
>
> class Person(dexterity.Item):
>    grok.implements(IPage)

Why do you need this class? Also: note that the Page type is a Container.

I'm not sure what's not working for you, so it's a bit hard to debug.

Martin


More information about the Product-Developers mailing list