Of course! Thanks. Hedley On 12/19/09, Martin Aspeli <[email protected]> wrote: > Hedley Roos wrote: >> Hi all >> >> I want to replace Archetypes.Field.ReferenceField with my own field. >> Monkey-patching is proving problematic because of ClassGen. For some >> reason the relatedItems field (of eg. a newly created ATDocument object) >> is not an instance of my replacement. >> >> The patch does get applied late enough. I've tried using my own >> traditional patch (Archetypes.Field.Referencefield = MyField, >> Archetypes.atapi.ReferenceField = MyField) and collective.monkeypatcher >> but no success. > > You should be able to do this with archetypes.scheamextender. > > 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 >
-- Sent from my mobile device _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
