Metadata-Version: 1.0
Name: deform_widget_dynatree
Version: 0.1dev
Summary: jQuery dynatree widget for deform
Home-page: https://github.com/disko/deform_widget_dynatree
Author: Andreas Kaiser
Author-email: disko@binary-punks.com
License: BSD
Description: deform_widget_dynatree
        ======================
        
        `Dynatree`_ is a JavaScript dynamic tree view plugin for jQuery with support for
        persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.
        
        ``deform_widget_dynatree`` exposes some of its features as a widget for the
        `deform`_ form generation library.
        
        REST API
        --------
        
        ``deform_widget_dynatree`` depends on a REST API you have to implement on the
        server side.  This API only needs to implement a single method that responds to
        GET requests with 2 optional parameters:
        
          - ``key``
            Key of the node for wich children are requested.
        
          - ``mode``
            Can be either ``root`` or ``branch``.
        
            If ``mode`` is ``branch`` only the children of the requested node have to be
            returned (as a list of JSON objects)::
        
                [
                    'child1': {
                        'key': '1',
                        'title': 'One',
                    },
                    'child2': {
                        'key': '2',
                        'title': 'Two',
                    },
                ]
        
              If ``mode`` is ``root`` the result must contain the children of the
              requested node (same as with ``branch``) as well as all parent nodes with
              their siblings::
        
                [
                    'child1': {
                        'key': '1',
                        'title': 'One',
                        'children': [
                            'subchild1': {
                                'key': '11',
                                'title': 'Sub One',
                                    'children': [
                                        'subchild11': {
                                            'key': '111',
                                            'title': 'Subsub One',
                                        },
                            },
                            'subchild2': {
                                'key': '12',
                                'title': 'Sub Two',
                            },
                        ],
                    },
                    'child2': {
                        'key': '2',
                        'title': 'Two',
                    },
                ]
        
        
        .. _Dynatree: https://code.google.com/p/dynatree/
        .. _deform: http://docs.pylonsproject.org/projects/deform/en/latest/
        
        
        
        
        CHANGES
        =======
        
        0.1
        ---
        
        -   Initial release.
        
Keywords: deform widget
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Pylons
Classifier: Framework :: Pyramid
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Topic :: Software Development :: Widget Sets
