ATBackRef (2.0)
by
olena
—
last modified
2009-01-26
Released on 2009-01-24 by Blue Dynamics, Jens Klein for Plone 3.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
- ATBackRef download link: http://plone.org/products/atbackref/releases
- Homepage of ATBackRef: http://plone.org/products/atbackref/
- ATBackRef repository: http://svn.plone.org/svn/archetypes/MoreFieldsAndWidgets/ATBackRef
- Description source: http://svn.plone.org/svn/archetypes/MoreFieldsAndWidgets/ATBackRef/trunk/README.txt
A new field/widget for Archetypes. This is for the "back-reference" in a relationship. If the Professor content type has a reference to the Course content type, this provides the capability for the Course view/edit forms to show/edit the reference(s) to the Professor(s). Very useful for sites that use many reference fields.
Purpose
implements a back reference field+widget for AT
Installation
- unpack the archive into youe zope's Products dir
- install Archetypes + ATBackRef inside your portal with QuickInstaller
- you have to install it via quickinstaller because it has skin elements (the widget template)
Usage
- use it like a field is supposed to be used. Its almost similar to ReferenceField
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.