Il 18/06/2010 10:18, Martin Aspeli ha scritto: > >> Is there some example code available somewhere? Is it easy to use >> schemaextender and subtyping together? >> > Subtyping is just a fancy word for adding a marker interface. Register > your schema extender adapter for that same marker interface, and you > should be fine. >
Great, that was what I would like to hear :) > I would also use archetypes.schemaextender to manage that marker > interface as a normal field in the objects edit screen. That way changes > for the object are not weirdly split over a subtype menu and the edit > screen. The subtype menu was a bad hack from before schemaextender existed. > This is a good idea, but that means sharing the same field all over the extended schemas and be careful in editing. It depends on the user case, for me the menu is good and clear :) _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
