Skip to main content

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

Author

Phil Auerperg <phil@bluedynamics.com> http://bluedynamics.com

Contributors

Kai Diefenbach - make it ready for Plone 3

Jens Klein - remove old school Install, use GS profile instead, eggified.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.ATBackRef-2.0.tar.gz (11.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page