Metadata-Version: 1.1
Name: plone.app.tiles
Version: 1.1.0
Summary: Plone UI integration for plone.tiles
Home-page: https://github.com/plone/plone.app.tiles
Author: Martin Aspeli
Author-email: optilude@gmail.com
License: GPL
Description: plone.app.tiles
        ===============
        
        Plone UI integration for `plone.tiles <http://pypi.python.org/pypi/plone.tiles>`_.
        
        This package contains the following things:
        
        * A view ``@@add-tile``, and an associated form, which can be used to create a
          new tile based on the tile's schema. For transient tiles, this merely
          redirects to a URL with an appropriate query string. For persistent tiles,
          it will also save the necessary data. This will fire an
          ``IObjectCreatedEvent`` as well as an ``IObjectAddedEvent`` for the newly
          created tile (a transient object) when successfully submitted. In the case
          of the ``IObjectAddedEvent``, the ``newParent`` attribute will be the tile's
          context, and the ``newName`` attribute will be the tile's id.
        
        * The ``@@add-tile`` view, when accessed directly, allows the user to choose
          from all available tiles (subject to the tile's add permission) and
          redirects to the appropriate ``@@add-tile/<tile-type>`` URL to configure the
          tile.
        
        * A view ``@@edit-tile``, and an associated form, which can be used to edit a
          tile based on the tile's schema. This will fire an ``IObjectModifiedEvent``
          for the modified tile (a transient object) when successfully submitted.
        
        * A view ``@@delete-tile``, where the user may select a tile type, enter a tile
          id, and opt to clear out any persistent data for that tile. This can also be
          called by AJAX code given appropriate request parameters. This will fire an
          ``IObjectRemovedEvent`` for the removed tile (a transient object). The
          ``oldParent`` attribute will be the tile's context, and the ``oldName``
          attribute will be the tile's id.
        
        The default add and edit forms should suffice for most use cases. You can use
        `plone.autoform <http://pypi.python.org/pypi/plone.autoform>`_ to configure
        alternative widgets, either by hand or via `plone.directives.form
        <http://pypi.python.org/pypi/plone.directives.form>`_.
        
        If you need a custom form, you can register an add view as an adapter from
        ``(context, request, tileType)``, where ``tileType`` is an instance providing
        ``plone.tiles.interfaces.ITileType``.
        
        The actual integration of the various views is left up to other packages (such
        as the Deco editor).
        
        Changelog
        =========
        
        1.1.0 (2016-09-15)
        ------------------
        
        - Add CMFEditions modifier to prevent (previously broken) versioning of blobs
          and relations in persistent tile data (in annotations); Whenever a previous
          version is restored, the blob and relation versions from the current working
          copy version are applied for the restored version
          [datakurre]
        
        1.0.2 (2016-05-04)
        ------------------
        
        - Remove cyclic dependency [fixes #7]
          [datakurre]
        
        1.0.1 (2012-06-25)
        ------------------
        
        - fixing 1.0 release which was broken (missing README.rst)
          [garbas]
        
        1.0 (2012-06-23)
        ----------------
        
        - initial release.
          [garbas]
        
Keywords: plone tiles deco
Platform: UNKNOWN
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 4.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
