{ "info": { "author": "Malthe Borch", "author_email": "mborch@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "License :: OSI Approved :: Zope Public License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Overview\n--------\n\nThis package provides a query source compatible with\n``z3c.formwidget.query`` which combines to an uberselection widget for\nthe ``z3c.form`` form generation framework.\n\nThe native value type for the widget is Archetypes UID collections.\n\nExample:\n\n >>> from collective.formwidget.uberselect.archetypes import \\\n ... ArchetypesContentSourceBinder\n \n >>> class ISelection(interface.Interface):\n ... items = schema.Set(\n ... title=u\"Selection\",\n ... description=u\"Search for content.\",\n ... value_type=schema.Choice(\n ... source=ArchetypesContentSourceBinder()\n ... )\n ... )\n\nWeak references\n---------------\n\nA recipe to store references as ``persistent.wref.WeakRef`` instead of\nUID is to use the ``uid2wref`` adapter between the form and the\ncontext.\n\n >>> from collective.formwidget.uberselect.wref import uid2wref\n \n >>> Factory = uid2wref(ISelection['items'])\n\nTo store weak references instead of UIDs you would register such a\nfactory as a component adapting the context. The factory automatically\nprovides the interface which defines the field.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "zope zope2 z3c.form", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.formwidget.uberselect", "package_url": "https://pypi.org/project/collective.formwidget.uberselect/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.formwidget.uberselect/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/collective.formwidget.uberselect/0.1/", "requires_dist": null, "requires_python": null, "summary": "An uberselection widget for z3c.form.", "version": "0.1" }, "last_serial": 787799, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "97845c34549a29d71e103e65bf7d3988", "sha256": "04fde5bbcf4bead5af684b5aee58d9a68894e24b8321f2423100cab514481671" }, "downloads": -1, "filename": "collective.formwidget.uberselect-0.1.tar.gz", "has_sig": false, "md5_digest": "97845c34549a29d71e103e65bf7d3988", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3005, "upload_time": "2008-05-16T00:49:00", "url": "https://files.pythonhosted.org/packages/4e/85/16310ddace0d6a732990c314ae5122491204fe6492ea36d612ad51d68346/collective.formwidget.uberselect-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97845c34549a29d71e103e65bf7d3988", "sha256": "04fde5bbcf4bead5af684b5aee58d9a68894e24b8321f2423100cab514481671" }, "downloads": -1, "filename": "collective.formwidget.uberselect-0.1.tar.gz", "has_sig": false, "md5_digest": "97845c34549a29d71e103e65bf7d3988", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3005, "upload_time": "2008-05-16T00:49:00", "url": "https://files.pythonhosted.org/packages/4e/85/16310ddace0d6a732990c314ae5122491204fe6492ea36d612ad51d68346/collective.formwidget.uberselect-0.1.tar.gz" } ] }