{ "info": { "author": "Bernhard P\u00f6ttinger", "author_email": "bernhard.poettinger@tngtech.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Plone", "Framework :: Plone :: 4.3", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "Products.PFGMasterSelect\n========================\n\n.. contents::\n\nAn add-on field for PloneFormGen using the MasterSelect widget.\n\nFeatures\n--------\n\nInstallation\n------------\n\nHow to use\n----------\nPlease note that PloneFormGen's QuickEdit mode does not work (yet) for this add-on.\n\nAfter installing this product you can create the Master Select\nand Master Multiselect fields via the \"Add new...\" menu in a PloneFormGen form.\nBoth fields allow you to specify a default value and the options available as the\ncommon selection field does.\n\nAdditionally it provides a configuration table that contains the MasterSelect\nconfiguration (see also MasterSelectWidget documentation for more detail):\n\n``name`` (required)\n The target field's name\n``action`` (required)\n The action to be applied on the target field. The options are\n * show/enable: Show/Enable the target field only if toggle_method evaluates to True or the field's value is in hide_value\n * hide/disable: Hide/disable the target field if toggle_method evaluates to True or the field's value is in hide_values\n * value: Set the target field's value to the result of the vocab_method\n * vocabulary: Set the target field's vocabulary to the result of the vocab_method\n``vocab_method``\n A python expression evaluating to a single value or collection. The currently set value (MasterSelect) or\n values (MasterMultiSelect) are available via ``value`` and ``values`` respectively.\n Example: Set the vocabulary of a selection field using ``['xyz' + v for v in values]``\n``toggle_method``\n A python expression evaluating to a boolean value. This method takes precedence to hide_values. The currently set\n value (MasterSelect) or values (MasterMultiSelect) are available via ``value`` and ``values`` respectively.\n Example: Hide a field if the selected value has length 5 or equals ``foo`` using ``len(value) == 5 or value == 'foo'``\n``hide_values``\n The values that show/hide/enable/disable operate on\n Example: Hide a field if the selected value is ``a`` or ``b`` using ``a,b``\n\nChange history\n**************\n\nChangelog\n=========\n\n0.2 (2017-05-19)\n----------------\n\n- Fix bug related to Datagridfield providing empty rows\n- Fix type confusion after roundtrip by forcing every value to type string\n- Use plain string comparison for hide_values instead of python expressions evaluating to a value or a collection\n- Refine the slave fields widget descriptions regarding the method fields\n- Replace eval by Plone's tales expressions\n- Add documentation\n\n0.1 (2017-03)\n----------------\n\n- Proof of concept\n\nContributors\n************\n\n\"\", Author\n\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bpoettinger/Products.PFGMasterSelect", "keywords": "Plone PloneFormGen MasterSelectWidget", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "Products.PFGMasterSelect", "package_url": "https://pypi.org/project/Products.PFGMasterSelect/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Products.PFGMasterSelect/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bpoettinger/Products.PFGMasterSelect" }, "release_url": "https://pypi.org/project/Products.PFGMasterSelect/0.2/", "requires_dist": null, "requires_python": "", "summary": "Plone Formgen Fields using Master Select Widgets", "version": "0.2" }, "last_serial": 2973385, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "a9a80c0bce983572116e04f71df84b9b", "sha256": "ab6042afd28426cddd3a99297c24e4330d42b12023292f779f33465077aed8ec" }, "downloads": -1, "filename": "Products.PFGMasterSelect-0.2.tar.gz", "has_sig": false, "md5_digest": "a9a80c0bce983572116e04f71df84b9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13945, "upload_time": "2017-06-23T10:47:41", "url": "https://files.pythonhosted.org/packages/2c/6d/5f145b32a14ae7f1ddde01fd33ce6e3bdb86401a7ef00990f54bc949c553/Products.PFGMasterSelect-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a9a80c0bce983572116e04f71df84b9b", "sha256": "ab6042afd28426cddd3a99297c24e4330d42b12023292f779f33465077aed8ec" }, "downloads": -1, "filename": "Products.PFGMasterSelect-0.2.tar.gz", "has_sig": false, "md5_digest": "a9a80c0bce983572116e04f71df84b9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13945, "upload_time": "2017-06-23T10:47:41", "url": "https://files.pythonhosted.org/packages/2c/6d/5f145b32a14ae7f1ddde01fd33ce6e3bdb86401a7ef00990f54bc949c553/Products.PFGMasterSelect-0.2.tar.gz" } ] }