Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install plone.app.referenceablebehavior

How to install plone.app.referenceablebehavior

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install plone.app.referenceablebehavior
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3
0.5Never BuiltWhy not?
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
Windows (64-bit)
0.3
0.5Never BuiltWhy not?
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
Mac OS X (10.5+)
0.3
0.5Never BuiltWhy not?
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (32-bit)
0.4.2
0.5Never BuiltWhy not?
0.4.2 Available View build log
0.4.1 Available View build log
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
Linux (64-bit)
0.5 Available View build log
0.4.2 Available View build log
0.4.1 Available View build log
0.3 Available View build log
0.2 Available View build log
0.1 Available View build log
 
License
GPL
Imports
Lastest release
version 0.5 on Jan 9th, 2014

Introduction

The "IReferenceable" behavior is used for enabling UUID (plone.app.uuid) support for dexterity contents, like in archetypes content types. This allow for example references between archetypes and dexterity content types.

Note: It can't work with Plone==4.0 because it is based on plone.uuid integration in CMF. It is compatible with Plone>=4.1

Usage

Just use the behavior "plone.app.referenceablebehavior.referenceable.IReferenceable" in your dexterity content type.

In your profiles/default/types/YOURTYPE.xml add the behavior:

<?xml version="1.0"?>
<object name="example.conference.presenter" meta_type="Dexterity FTI"
   i18n:domain="example.conference" xmlns:i18n="http://xml.zope.org/namespaces/i18n">

 <!-- enabled behaviors -->
 <property name="behaviors">
     <element value="plone.app.referenceablebehavior.referenceable.IReferenceable" />
 </property>

</object>

Changelog

0.5 (2013-01-10)
  • Add a more complete implementation of the IReferenceable interface from Archetypes. Dexterity content using this behavior is now adaptable to IReferenceable rather than providing it directly. [jpgimenez]
  • Import getSite from zope.component to avoid dependency on zope.app.component. [hvelarde]
0.4.2 (2012-08-19)
  • Get object's UID in a more proper way. [frapell]
0.4.1 (2012-08-18)
  • Fix packaging error. [esteele]
0.4 (2012-08-18)
  • Declare the dependency on Archetypes. [davisagli]
  • Handle IObjectMovedEvent events for referenceable types to avoid "unsuccessfully attempted to uncatalog an object" errors when removing an object previously moved. [frapell]
0.3 (2011-05-18)
  • Try obj first in event handlers, fall back to getSite(). When a site is being deleted getSite() will return None so isn't useful. [lentinj]
0.2 (2011-04-30)
  • Use getSite() hook in event handlers, since the object may be not acquisition-wrapped in certain circumstances. [jbaumann]
  • Fix broken IReferenceable import. [daftdog]
0.1 (2011-02-11)
  • Add "locales" directory and french translation for the behavior. [sylvainb]
  • Add referenceable behavior to dexterity [toutpt]
  • Initial release [sylvainb]

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.