Metadata-Version: 1.0
Name: plone.app.referenceablebehavior
Version: 0.3
Summary: Referenceable dexterity type behavior
Home-page: http://plone.org/products/dexterity
Author: Plone Foundation
Author-email: mailto:dexterity-development@googlegroups.com
License: GPL
Description: 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.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]
        
Keywords: dexterity referenceable plone
Platform: UNKNOWN
Classifier: Framework :: Plone
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
