Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > Plone Extensions

    plone.app.lockingbehavior 1.0.1

    Download button

    No screenshots available
    Downloads: 96  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Plone Foundation | More programs
    GPL / FREE
    December 7th, 2011, 18:58 GMT [view history]
    ROOT / Internet / Plone Extensions

     Read user reviews (0)  Refer to a friend  Subscribe

    plone.app.lockingbehavior description

    Locking integration for dexterity content objects

    plone.app.lockingbehavior is a Plone product that provides a plone.locking integration for dexterity.

    Usage

    Just use the behavior plone.app.lockingbehavior.behaviors.ILocking in your dexterity content type. Also check the condition of the "edit" action of your type, it should check if the object is locked.

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

    < ?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.lockingbehavior.behaviors.ILocking" / >
     < /property >

     < action action_id="edit"
     visible="True"
     title="Edit"
     category="object"
     url_expr="string:${object_url}/edit"
     condition_expr="not:object/@@plone_lock_info/is_locked_for_current_user|python:True" >
     < permission value="Modify portal content"/ >
     < /action >

    < /object >


    The ILocking behavior enables locking support for your content type. This adds the ITTWLockable interface from plone.locking. The locking viewlet from plone.app.layout is also working for the dexterity content type.

    More Information

    - http://pypi.python.org/pypi/plone.locking

    Requirements:

    · Python
    · Plone CMS

    What's New in This Release: [ read full changelog ]

    · Fix version requirement of plone.dexterity: 1.1 is compatible. [jone]

      


    TAGS:

    plone.locking integration | Plone locking | locking integration | Plone | plone.locking | integration

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM