On Sat, May 25, 2013 at 6:48 AM, ajung <[email protected]> wrote:

> Bringing the discussion back to facts.
>
> The documentation
>
>
> http://dexterity-developer-manual.readthedocs.org/en/latest/schema-driven-types.html
>
> uses form.schema (from plone.directives as base class) for the schema.
>
> This is not working in Plone 4.3 - there is no plone.directives module.


Could you say a bit more about where the problem was here? While there may
not be a plone.directives, there is a plone.directives.form:

steve@lumpy:~/work/43bare/zinstance$ bin/zopepy

>>> from zope import schema
>>>
>>> from plone.directives import form
>>>
>>> class IPresenter(form.Schema):
...     """A conference presenter. Presenters can be added anywhere.
...     """
...     title = schema.TextLine(title=u"Name")
...
>>>
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to