Héctor Velarde wrote:
I was checking Maurits' code to see how to use default_method and vocabulary but it's not working for me (I'm using schemaextender).

I don't think you can use default_method in that case; you can however use a named Zope 3-style vocabulary and a named IDefaultValue (or somesuch) adapter. My book covers both (chapter 10), but I'm not sure where there are other examples (apart from the Archetypes tests, of course).

Martin

--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to