I'm trying to learn how to create custom widgets for dexterity fields. I 
started by reading this: http://wiki.zope.org/zope3/Z3cZcml

I haven't gotten all the way through it because it tries to import some modules 
that don't exist in my vanilla Plone 4 + 
http://good-py.appspot.com/release/dexterity/1.0b2?plone=4.0 Dexterity install, 
but before I continue, am I on the right track?

Is there a better set of instructions/demonstration I should use for developing 
a custom widget, and if not, are these modules missing because I need to 
install them, or because the instructions are out of date?

>>> from z3c.form.testing import TestRequestTraceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/Users/michael/Plone/buildout-cache/eggs/z3c.form-2.3.3-py2.6.egg/z3c/form/testing.py",
 line 42, in <module>
    import lxml.html
ImportError: No module named lxml.html

...

>>> from z3c.template.interfaces import IPageTemplate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named template.interfaces

Thanks,
Michael A. Smith
Web & Digital / Academic Technologies Manager
Nazareth College
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to