Wichert Akkerman wrote:
> 
> You could also simply add a method to the content type class itself. 
> There is no requirement to use adapters - python has a nice class system 
> you can use as well. Writing an adapter when you will never adapt more 
> than one specific class is needless overhead imho.
> 
This would mean that I had to subclass Dexteritiy's folder or item class in
order to create a custom class, wouldn't it? But isn't this discouraged?

-- 
View this message in context: 
http://plone.293351.n2.nabble.com/What-s-the-proper-way-to-add-methods-to-dexterity-types-tp4992210p4992796.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to