Kees Hink wrote:
Collage relies on UID's for its references. Currently, it's impossible to show
a view for a dexterity type in a collage.
Would it be feasible to create a dexterity-compatible branch (while maintaining
Archetypes compatibility)? Our thoughts about this are:
- depend on five.intid to provide the unique identifiers;
- use these intid's in existingItems.py and existing_items_form.pt;
- patch the CollageAlias class's getTarget method;
There's been a fair bit of discussion about this on the Dexterity list
in the pat few days. I suggest you read up on that.
The custom content type would have to have its intid's catalog'ed, a new
dexterity behaviour could be created for this.
The hardest problem seems to be the place to store this relationship. Plone's
reference catalog ('/reference_catalog') currently only has indexes for UID's.
You'd probably want to change collage to use the new-and-unfinished
Archetypes field for zc.relation references, from the Tahoe sprint.
That's very, very cutting edge stuff, but we'd love to have your help. ;-)
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