Back References Support for Archetypes
Project description
Usage
Use it like a field is supposed to be used. Its almost similar to ReferenceField, ReferenceWidget/ ReferenceBrowserWidget.
Archetypes Referenceable API offers already back-references, the field/widget allows to visualize them like forward references. The relationship (name) of the reference must be the same as on the forward reference field given.
Usage for ArchGenXML/ UML
in your UML tool create a relation between 2 classes and make the ‘to’ end of i the assocation navigable (such a beast is provided in the sample dir).
add the tagged value backreferences_support to your model and set it to 1.
invoke ArchGenXML,
restart your zope and try it out
BackReferenceField for Archetypes.
This is the counterpart to the ReferenceField. When you have a relation that is managed by a ReferenceField, you can define at the reference’s target object a BackReferenceField and a BackReferenceWidget, that alows you to navigate back and also add references to the same relation from the other side
Installation:
You have to install it via portal_setup because it has skin elements (the widget templates).
Licence
copyright 2004-2009 BlueDynamics Alliance, Austria
GNU General Public License Version 2 or later
Contributors
Kai Diefenbach - make it ready for Plone 3
Jens Klein - remove old school Install, use GS profile instead, eggified.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.