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.stagingbehavior

How to install plone.app.stagingbehavior

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install plone.app.stagingbehavior
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1b4 Available View build log
0.1b3 Available View build log
0.1b2 Available View build log
0.1b1 Available View build log
0.1a2 Available View build log
0.1a1 Available View build log
Windows (64-bit)
0.1b3
0.1b4Never BuiltWhy not?
0.1b3 Available View build log
0.1b2 Available View build log
0.1b1 Available View build log
0.1a2 Available View build log
0.1a1 Available View build log
Mac OS X (10.5+)
0.1b4 Available View build log
0.1b3 Available View build log
0.1b2 Available View build log
0.1b1 Available View build log
0.1a2 Available View build log
0.1a1 Available View build log
Linux (32-bit)
0.1b4 Available View build log
0.1b3 Available View build log
0.1b2 Available View build log
0.1b1 Available View build log
0.1a2 Available View build log
0.1a1 Available View build log
Linux (64-bit)
0.1b4 Available View build log
0.1b3 Available View build log
0.1b2 Available View build log
0.1b1 Available View build log
0.1a2 Available View build log
0.1a1 Available View build log
 
Author
License
GPL
Depended by
Imports
Lastest release
version 0.1b4 on Nov 20th, 2012

Introduction

The IStagingSupport behavior is used for enabling the plone.app.iterate functionality for Dexterity content. It allows you to perform the checkout and checkin operations to work on a copy of your original content.

Usage

Just use the behavior plone.app.stagingbehavior.interfaces.IStagingSupport 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.stagingbehavior.interfaces.IStagingSupport" />
 </property>

</object>

The IStagingSupport behavior just adds the referred staging support to your content-type, but it does not enable it.

You have to set the "versioning" option in the Plone types control panel (/@@types-controlpanel) to either "Manual" or "Automatic" for activating versioning.

More Information

For more information about how the staging works see the documentation of plone.app.iterate and Products.CMFEdtitions:

Changelog

0.1b4 (2012-08-20)
  • Do not display locked message to anonymous users [mattvoss]
  • Copy annotations from working copy to baseline checkin. [frapell, jone]
  • Fix KeyError when accessing previously checked in content through Acquisition wrapper http://code.google.com/p/dexterity/issues/detail?id=270 [anthonygerrard]
  • Hide the 'locked' status message if user is anonymous [mattvoss]
0.1b3 (2011-09-24)
  • Make sure that changes to the subjects field are carried over when the working copy is checked in. [swampmonkey]
  • Fix broken dependency declaration. [danjacka, jonstahl]
0.1b2 (2011-06-16)
  • Declare plone.app.versioningbehavior and plone.app.referenceablebehavior as test dependencies. [danjacka, davisagli]
  • Declare the implicit dependency on plone.app.relationfield. [davisagli]
0.1b1 (2011-05-20)
  • Add functional tests. [anthonygerrard, davisagli]
0.1a2 (2011-01-25)
  • Fixed to avoid try setting values on read-only fields. [deo]
  • Improved documentation and usage information. [deo]
0.1a1 (2011-01-24)
  • Renamed package to plone.app.stagingbehavior. [deo]
  • Made sure to fire an IAfterCheckinEvent so that the iterate locking handler (handleCheckin) removes the lock from the baseline object. [deo]
  • Added a workaround to allow the checkin operation to succeed. Sent message to the mailing list to discuss the issue. [deo]
  • Fixed to only use the plone.app.stagingbehavior policy for Dexterity content, avoiding any interference with Archetypes content. [deo]
  • Removed dependency to plone.relations, made some cleanups. [jbaumann]
  • Added creator attribute to the StagingRelationValue. [jbaumann]
  • Fixed AttributeError processForm in checkin. [jbaumann]
  • Implemented simple checkin process, which just copies all field values. [jbaumann]
  • Cleaned up the code a little bit. [jbaumann]
  • First implementation. [jbaumann]

Subscribe to package updates

Last updated Nov 20th, 2012

Download Stats

Last month:1

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.