plone.formwidget.masterselect


Nameplone.formwidget.masterselect JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/collective/plone.formwidget.masterselect
SummaryA z3c.form widget that controls the vocabulary or display of other fields on an edit page
upload_time2024-06-05 08:27:14
maintainerNone
docs_urlNone
authorJason Mehring
requires_pythonNone
licenseGPL
keywords plone widget
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://travis-ci.org/collective/plone.formwidget.masterselect.svg
    :target: https://travis-ci.org/collective/plone.formwidget.masterselect

.. image:: https://coveralls.io/repos/collective/plone.formwidget.masterselect/badge.png
    :target: https://coveralls.io/r/collective/plone.formwidget.masterselect

MasterSelectWidget
==================

This is a z3cform widget based on the orginal Archetypes widget which
controls the vocabulary or display of other fields on an edit page. It
needs to be given information about which fields to control and how to control
them.

Feel free to help edit this document to help explain things better!


Example
=======

For more complex examples see ``demo.py`` in pacakge directory.::

    from zope import schema
    from plone.supermodel import model
    from plone.formwidget.masterselect import _
    from plone.formwidget.masterselect import MasterSelectBoolField
    from plone.formwidget.masterselect import MasterSelectField


    class IMasterSelectDemo(model.Schema):
        """ MasterSelect Demo to demonstrate all options available to
            use and to allow the test modules a content type to work
            with.
        """

        masterField = MasterSelectField(
            title=_(u"MasterField"),
            description=_(u"This field controls the vocabulary of slaveField1,"
                          "the available values in slaveField1 will be equal "
                          "to the numbers between the selected number and 10. "
            values=(1, 2, 3, 4, 5, 6),
            slave_fields=(
                # Controls the vocab of slaveField1
                {'name': 'slaveField1',
                 'action': 'vocabulary',
                 'vocab_method': getSlaveVocab,
                 'control_param': 'master',
                },
                # Controls the visibility of slaveField1 also
                {'name': 'slaveField1',
                 'action': 'hide',
                 'hide_values': ('6',),
                 'siblings': True,
                },
            ),
            required=True,
        )

        slaveField1 = schema.Set(
            title=_(u"SlaveField1"),
            description=_(u"This field's vocabulary is controlled by the value "
                          "selected in masterField. The values available here "
                          "will be the numbers between the number selected in "
                          "masterField and 10. The field will be hidden when 6 "
                          "is selected in the masterField."),
            value_type=schema.Choice(values=(1, 2, 3, 4, 5, 6)),
            required=False,
        )


Parameters
==========

All the magic happens in the slave_fields parameter which should be a
sequence of mappings. Each mapping is a description of a field controlled
by this master field:


name
----

The name of the field to control on when the selection changes. The
controlled field/widget may be of any type unless the 'vocabulary' or
'value' action is used. When the action is 'vocabulary', the field must
use either a MultiSelectionWidget, a SelectionWidget, or a
MasterSelectWidget any of which must have the 'format' parameter set
to 'select' (this is the default only for MasterSelectWidget). For
'value', the widget must be simple enough to change the current value
using element.value or elem.selectedIndex (StringWidget, SelectionWidget,
AutoCompleteWidget, maybe others).


masterID
--------

This is optional and will automatically be calculated if omited.  It can
be used to specify the exact master field is that is rendered in the html
document.  Normally you will only need to set this for checkbox masters
since their id has a -0 added like this: #form-widgets-checkboxfield-0.
Note that this is a jQuery ID selector.

masterSelector
--------------

This is optional and will default to master ID if not defined.
It has the same usage as masterID but allows to specify any JQuery selector (not
just an ID).

You will use this with radio button masters, to select all inputs with something like:

    'masterSelector': 'input[name="form.widgets.my_master_field"]',

slaveID
-------

This is optional and will automatically be calculated if omited.  It can
be used to specify the exact slave field name to control in the html form.
Note that this is a jQuery ID selector, so use something
like this: #form-widgets-field


action
------

The type of action to perform on the slave field.  This can be:

``vocabulary``
    which alters the vocabulary of the slave field using an
    XMLHttpRequest call. To use the ``vocabulary`` action, the slave
    field must meet the widget requirements stated above.

``enable`` or ``disable``
    toggle which marks the target widget as enabled or disabled; To use the
    ``enable / disable`` actions, the field must use a HTML widget that can be
    enabled/disabled.

``show`` or ``hide``
    toggle which marks the target widget as show or hide.

``value``
    which alters the value of another simple widget (StringWidget) on
    selection change using an XMLHttpRequest call.

``attr``
    which alters the value of a DOM element, specified by slaveID

``jquery``
    **NOT YET IMPLEMENTED**
    a complete jquery statement that will be sent back to the DOM to be
    executed.


vocab_method
------------

The name of a method to call to retrieve the dynamic vocabulary for
the slave field, or the value for the slave field when 'value' is used.
For 'vocabulary', this must return a DisplayList. For 'value, it must
return a string or msg_id.  The method must accept a parameter which
will be used to pass the new value selected in the master widget. The
name of this parameter defaults to 'master_value', but any name may be
used as long as it is specified using the control_param element. Used
only with 'action':'vocabulary' or 'action':'value'.

control_param
-------------

As described above, this is the name of the paramter used when
calling the vocab_method. Used only with 'action':'vocabulary',
'action':'value', 'action':'attr' and 'action':'jquery'.

hide_values
-----------

A sequence of values which when selected in the master widget cause
the slave field/widget to be hidden, shown or disabled. The method
used is determined by the 'action' element. Used only with
'action':'hide', 'action':'enable', 'action':'disable' or
'action':'show'. The value '()' (dont use quotes) will trigger on
anything.

siblings
--------

Boolean value to indictate the siblings of the slave field should be
selected as well as the slave field itself.  This field can only be used
with 'action':'hide' or 'action':'show' and is useful for hidng the label
as well the slave field.

empty_length
------------

The position in the slave slave field to start deleting entries from the
selection box when the selection box gets refreshed with new data.  The
selection box options are deleted before the Ajax call so it can not be
used until the call is complete.  This can be useful to prevent a small
select box from appearing is the first option is '-------------'. This
field is optional and can only be used with 'action':'vocabulary'.
This value is also crecked before initating an ajax request.  The ajax
request will not be executed if the master select length is equal to or less
than this number to help prevent slave widgets executing out of order.
Default value is 0.

prevent_ajax_values
-------------------

A sequence of values which when selected in the master widget prevent the
widget from iniating an ajax request. Use ('') as the value to prevent an
ajax call if the select option value is ''.  The default is ().

initial_trigger
---------------

Boolean indicated if the master widget should initally be triggered on
load.  Default is true for everything except vocabulary in which case it is
false to prevent an initial ajax call which usually will not be needed.

A single MasterSelectWidget may control any number of slave fields, new
fields are controlled by adding new mappings to the slave_fields list/tuple.
A field which is the target of a MasterSelectWidget action may itself use
a MasterSelectWidget to control other fields.

The MasterSelectDemo type includes a number of master and slave widgets in
different configurations. It is disabled by default, but you may import it
through portal_setup tool and test it by checking the "implicitly addable"
checkbox for it in the MasterSelectDemo entry in the portal_types tool.

Enjoy!


Special case with ContactChoice
===============================

Since collective.contact.widget 1.8, you can use the ContactChoice field as
a master field, but it requires a special configuration for masterID and
masterType properties. Here is an example::

    organization = ContactChoice(
        title=_(u"Organization"),
        required=True,
        source=ContactSourceBinder(obj_types=('organization',)),
        slave_fields=(
            {'name': 'department',
             'masterID': 'form-widgets-organization-input-fields',
             'masterType': 'ContactChoice',
             'slaveID': '#form-widgets-department',
             'action': 'vocabulary',
             'vocab_method': get_organization_directions_vocabulary,
             'control_param': 'selected_organism',
             'initial_trigger': True
             },
        )
    )



Author
------

- Jason Mehring: nrgaway@gmail.com

Orginal Author of Archetypes Widget
-----------------------------------

- Alec Mitchell: apm13@columbia.edu

Contributors
------------

- Dorneles Tremea: deo@plonesolutions.com
- Cédric Messiant, Ecreall: cedricmessiant@ecreall.com
- Vincent Fretin, Ecreall: vincentfretin@ecreall.com
- Daniel Widerin, daniel@widerin.net
- Wesley Barroso Lopes, wesleybl@gmail.com


Changelog
=========

3.0.0 (2024-06-05)
------------------

- Fix JSON call URL in non-rooted virtual host environments. Fixes #37
  [erral]

- Drop support to Python 3.7.
  [wesleybl]


2.0.1 (2021-09-16)
------------------

- Hides default tab in edit form in Firefox when we click on another tab. Fix `#32 <https://github.com/collective/plone.formwidget.masterselect/issues/32>`_
  [wesleybl]

- Fix interfaces implemented by fields.
  [wesleybl]

- Use compile False in bundle.
  [wesleybl]

- Fix resource css not found. Fix `#23 <https://github.com/collective/plone.formwidget.masterselect/issues/23>`_
  [wesleybl]

- Remove old upgrade step.
  [wesleybl]


2.0.0 (2021-05-27)
------------------

- Add support for Python 3 (Plone 5.2.2). Drop support for Python 2.7 & 3.6.
  [wkbkhard, laulaz]

- Fix loading the compiled js resource
  [alessandro.ceglie]

- Fix error during translation
  [pbauer]

- Fix buildout / Travis
  [tisto, wkbkhard]


1.7 (2019-11-13)
----------------

- Removed deprecated ``simplejson`` dependency
  [keul]

- Removed plone.app.jquerytools from generic setup dependencies.
  [keul]

- Fixed JavaScript: old value in slave field was not
  re-selected on page reload
  [keul]

1.6 (2016-10-11)
----------------

- Add optional support for ContactChoice from collective.contact.widget >= 1.8
  as master field.
  [vincentfretin]

- Trigger liszt:updated event in updateSelect to force update
  of select chosen slave field from collective.z3cform.chosen.
  [vincentfretin]

- Fixed visual issue: in an overlay, i
  toggle was done one time for each checkbox or radio option.
  [thomasdesvenain]

- Fix package metadata and trove classifiers.
  [hvelarde]


1.5.2 (2016-08-08)
------------------

- Use zope2.View instead of cmf.AddPortalContent for masterselect-jsonvalue
  view. In an edit form, the user doesn't necessary have the Add portal content
  permission.
  [vincentfretin]


1.5.1 (2016-01-08)
------------------

- Fix side-effect when updating field.vocabulary. Do now a copy of the field
  before changing the vocabulary.
  [vincentfretin]


1.5 (2015-11-24)
----------------

- Translate the "vocabulary" slave field terms (like "No value") when entire vocabulary is replaced.
  [sgeulette]


1.4.1 (2014-10-30)
------------------

- jQuery 1.9 compatible.
  [vincentfretin]


1.4 (2014-10-09)
----------------

- masterselect.js is now cacheable.
  [vincentfretin]

- Move to plone.app.testing. Migrate selenium tests from windmill to
  robotframework.
  [saily]

- Add travis and coveralls integration.
  [saily]

- Documentation updates. Fix rst error in ``CHANGES.rst``. Add an example
  to ``README.rst``.
  [saily]

- Add egg-contained buildout.
  [saily]


1.3 (2014-06-16)
----------------

- Do not use fast transition on initial trigger.
  [thomasdesvenain]

- Master select features work when form is loaded in an overlay.
  [thomasdesvenain]

- Fix bug when masterselect is in a fieldset that is not visible.
  [cedricmessiant]

- Add master select radio widget and ability to specify a master Selector
  instead of masterID [ebrehault]


1.2 (2013-11-04)
----------------

- Added a ('fast') jQuery transition on show/hide function.
  [thomasdesvenain]


1.1 (2013-08-26)
----------------

- Made compatible with z3c.form 3.0 and jQuery 1.6+.
  Note: this version drops compatibility with jQuery 1.4.
  Please use plone.formwidget.masterselect 1.0 for plone
  versions < 4.3


1.0 (2013-06-10)
----------------

- Replaced jq by jQuery in generated scripts.
  [vincentfretin]

- Removed plone.directives.form dependency
  Removed plone.app.jquerytools dependency
  Fixed demo profile
  Made some cleanup
  [cedricmessiant]

- Initial checkin, ready for testing.
  [JMehring]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/collective/plone.formwidget.masterselect",
    "name": "plone.formwidget.masterselect",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "plone widget",
    "author": "Jason Mehring",
    "author_email": "nrgaway@yahoo.com",
    "download_url": "https://files.pythonhosted.org/packages/3e/46/b45827f4e362e37bbc4e3acba7a547ddb279912deb4c05f33abe9f92ddc9/plone.formwidget.masterselect-3.0.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://travis-ci.org/collective/plone.formwidget.masterselect.svg\n    :target: https://travis-ci.org/collective/plone.formwidget.masterselect\n\n.. image:: https://coveralls.io/repos/collective/plone.formwidget.masterselect/badge.png\n    :target: https://coveralls.io/r/collective/plone.formwidget.masterselect\n\nMasterSelectWidget\n==================\n\nThis is a z3cform widget based on the orginal Archetypes widget which\ncontrols the vocabulary or display of other fields on an edit page. It\nneeds to be given information about which fields to control and how to control\nthem.\n\nFeel free to help edit this document to help explain things better!\n\n\nExample\n=======\n\nFor more complex examples see ``demo.py`` in pacakge directory.::\n\n    from zope import schema\n    from plone.supermodel import model\n    from plone.formwidget.masterselect import _\n    from plone.formwidget.masterselect import MasterSelectBoolField\n    from plone.formwidget.masterselect import MasterSelectField\n\n\n    class IMasterSelectDemo(model.Schema):\n        \"\"\" MasterSelect Demo to demonstrate all options available to\n            use and to allow the test modules a content type to work\n            with.\n        \"\"\"\n\n        masterField = MasterSelectField(\n            title=_(u\"MasterField\"),\n            description=_(u\"This field controls the vocabulary of slaveField1,\"\n                          \"the available values in slaveField1 will be equal \"\n                          \"to the numbers between the selected number and 10. \"\n            values=(1, 2, 3, 4, 5, 6),\n            slave_fields=(\n                # Controls the vocab of slaveField1\n                {'name': 'slaveField1',\n                 'action': 'vocabulary',\n                 'vocab_method': getSlaveVocab,\n                 'control_param': 'master',\n                },\n                # Controls the visibility of slaveField1 also\n                {'name': 'slaveField1',\n                 'action': 'hide',\n                 'hide_values': ('6',),\n                 'siblings': True,\n                },\n            ),\n            required=True,\n        )\n\n        slaveField1 = schema.Set(\n            title=_(u\"SlaveField1\"),\n            description=_(u\"This field's vocabulary is controlled by the value \"\n                          \"selected in masterField. The values available here \"\n                          \"will be the numbers between the number selected in \"\n                          \"masterField and 10. The field will be hidden when 6 \"\n                          \"is selected in the masterField.\"),\n            value_type=schema.Choice(values=(1, 2, 3, 4, 5, 6)),\n            required=False,\n        )\n\n\nParameters\n==========\n\nAll the magic happens in the slave_fields parameter which should be a\nsequence of mappings. Each mapping is a description of a field controlled\nby this master field:\n\n\nname\n----\n\nThe name of the field to control on when the selection changes. The\ncontrolled field/widget may be of any type unless the 'vocabulary' or\n'value' action is used. When the action is 'vocabulary', the field must\nuse either a MultiSelectionWidget, a SelectionWidget, or a\nMasterSelectWidget any of which must have the 'format' parameter set\nto 'select' (this is the default only for MasterSelectWidget). For\n'value', the widget must be simple enough to change the current value\nusing element.value or elem.selectedIndex (StringWidget, SelectionWidget,\nAutoCompleteWidget, maybe others).\n\n\nmasterID\n--------\n\nThis is optional and will automatically be calculated if omited.  It can\nbe used to specify the exact master field is that is rendered in the html\ndocument.  Normally you will only need to set this for checkbox masters\nsince their id has a -0 added like this: #form-widgets-checkboxfield-0.\nNote that this is a jQuery ID selector.\n\nmasterSelector\n--------------\n\nThis is optional and will default to master ID if not defined.\nIt has the same usage as masterID but allows to specify any JQuery selector (not\njust an ID).\n\nYou will use this with radio button masters, to select all inputs with something like:\n\n    'masterSelector': 'input[name=\"form.widgets.my_master_field\"]',\n\nslaveID\n-------\n\nThis is optional and will automatically be calculated if omited.  It can\nbe used to specify the exact slave field name to control in the html form.\nNote that this is a jQuery ID selector, so use something\nlike this: #form-widgets-field\n\n\naction\n------\n\nThe type of action to perform on the slave field.  This can be:\n\n``vocabulary``\n    which alters the vocabulary of the slave field using an\n    XMLHttpRequest call. To use the ``vocabulary`` action, the slave\n    field must meet the widget requirements stated above.\n\n``enable`` or ``disable``\n    toggle which marks the target widget as enabled or disabled; To use the\n    ``enable / disable`` actions, the field must use a HTML widget that can be\n    enabled/disabled.\n\n``show`` or ``hide``\n    toggle which marks the target widget as show or hide.\n\n``value``\n    which alters the value of another simple widget (StringWidget) on\n    selection change using an XMLHttpRequest call.\n\n``attr``\n    which alters the value of a DOM element, specified by slaveID\n\n``jquery``\n    **NOT YET IMPLEMENTED**\n    a complete jquery statement that will be sent back to the DOM to be\n    executed.\n\n\nvocab_method\n------------\n\nThe name of a method to call to retrieve the dynamic vocabulary for\nthe slave field, or the value for the slave field when 'value' is used.\nFor 'vocabulary', this must return a DisplayList. For 'value, it must\nreturn a string or msg_id.  The method must accept a parameter which\nwill be used to pass the new value selected in the master widget. The\nname of this parameter defaults to 'master_value', but any name may be\nused as long as it is specified using the control_param element. Used\nonly with 'action':'vocabulary' or 'action':'value'.\n\ncontrol_param\n-------------\n\nAs described above, this is the name of the paramter used when\ncalling the vocab_method. Used only with 'action':'vocabulary',\n'action':'value', 'action':'attr' and 'action':'jquery'.\n\nhide_values\n-----------\n\nA sequence of values which when selected in the master widget cause\nthe slave field/widget to be hidden, shown or disabled. The method\nused is determined by the 'action' element. Used only with\n'action':'hide', 'action':'enable', 'action':'disable' or\n'action':'show'. The value '()' (dont use quotes) will trigger on\nanything.\n\nsiblings\n--------\n\nBoolean value to indictate the siblings of the slave field should be\nselected as well as the slave field itself.  This field can only be used\nwith 'action':'hide' or 'action':'show' and is useful for hidng the label\nas well the slave field.\n\nempty_length\n------------\n\nThe position in the slave slave field to start deleting entries from the\nselection box when the selection box gets refreshed with new data.  The\nselection box options are deleted before the Ajax call so it can not be\nused until the call is complete.  This can be useful to prevent a small\nselect box from appearing is the first option is '-------------'. This\nfield is optional and can only be used with 'action':'vocabulary'.\nThis value is also crecked before initating an ajax request.  The ajax\nrequest will not be executed if the master select length is equal to or less\nthan this number to help prevent slave widgets executing out of order.\nDefault value is 0.\n\nprevent_ajax_values\n-------------------\n\nA sequence of values which when selected in the master widget prevent the\nwidget from iniating an ajax request. Use ('') as the value to prevent an\najax call if the select option value is ''.  The default is ().\n\ninitial_trigger\n---------------\n\nBoolean indicated if the master widget should initally be triggered on\nload.  Default is true for everything except vocabulary in which case it is\nfalse to prevent an initial ajax call which usually will not be needed.\n\nA single MasterSelectWidget may control any number of slave fields, new\nfields are controlled by adding new mappings to the slave_fields list/tuple.\nA field which is the target of a MasterSelectWidget action may itself use\na MasterSelectWidget to control other fields.\n\nThe MasterSelectDemo type includes a number of master and slave widgets in\ndifferent configurations. It is disabled by default, but you may import it\nthrough portal_setup tool and test it by checking the \"implicitly addable\"\ncheckbox for it in the MasterSelectDemo entry in the portal_types tool.\n\nEnjoy!\n\n\nSpecial case with ContactChoice\n===============================\n\nSince collective.contact.widget 1.8, you can use the ContactChoice field as\na master field, but it requires a special configuration for masterID and\nmasterType properties. Here is an example::\n\n    organization = ContactChoice(\n        title=_(u\"Organization\"),\n        required=True,\n        source=ContactSourceBinder(obj_types=('organization',)),\n        slave_fields=(\n            {'name': 'department',\n             'masterID': 'form-widgets-organization-input-fields',\n             'masterType': 'ContactChoice',\n             'slaveID': '#form-widgets-department',\n             'action': 'vocabulary',\n             'vocab_method': get_organization_directions_vocabulary,\n             'control_param': 'selected_organism',\n             'initial_trigger': True\n             },\n        )\n    )\n\n\n\nAuthor\n------\n\n- Jason Mehring: nrgaway@gmail.com\n\nOrginal Author of Archetypes Widget\n-----------------------------------\n\n- Alec Mitchell: apm13@columbia.edu\n\nContributors\n------------\n\n- Dorneles Tremea: deo@plonesolutions.com\n- C\u00e9dric Messiant, Ecreall: cedricmessiant@ecreall.com\n- Vincent Fretin, Ecreall: vincentfretin@ecreall.com\n- Daniel Widerin, daniel@widerin.net\n- Wesley Barroso Lopes, wesleybl@gmail.com\n\n\nChangelog\n=========\n\n3.0.0 (2024-06-05)\n------------------\n\n- Fix JSON call URL in non-rooted virtual host environments. Fixes #37\n  [erral]\n\n- Drop support to Python 3.7.\n  [wesleybl]\n\n\n2.0.1 (2021-09-16)\n------------------\n\n- Hides default tab in edit form in Firefox when we click on another tab. Fix `#32 <https://github.com/collective/plone.formwidget.masterselect/issues/32>`_\n  [wesleybl]\n\n- Fix interfaces implemented by fields.\n  [wesleybl]\n\n- Use compile False in bundle.\n  [wesleybl]\n\n- Fix resource css not found. Fix `#23 <https://github.com/collective/plone.formwidget.masterselect/issues/23>`_\n  [wesleybl]\n\n- Remove old upgrade step.\n  [wesleybl]\n\n\n2.0.0 (2021-05-27)\n------------------\n\n- Add support for Python 3 (Plone 5.2.2). Drop support for Python 2.7 & 3.6.\n  [wkbkhard, laulaz]\n\n- Fix loading the compiled js resource\n  [alessandro.ceglie]\n\n- Fix error during translation\n  [pbauer]\n\n- Fix buildout / Travis\n  [tisto, wkbkhard]\n\n\n1.7 (2019-11-13)\n----------------\n\n- Removed deprecated ``simplejson`` dependency\n  [keul]\n\n- Removed plone.app.jquerytools from generic setup dependencies.\n  [keul]\n\n- Fixed JavaScript: old value in slave field was not\n  re-selected on page reload\n  [keul]\n\n1.6 (2016-10-11)\n----------------\n\n- Add optional support for ContactChoice from collective.contact.widget >= 1.8\n  as master field.\n  [vincentfretin]\n\n- Trigger liszt:updated event in updateSelect to force update\n  of select chosen slave field from collective.z3cform.chosen.\n  [vincentfretin]\n\n- Fixed visual issue: in an overlay, i\n  toggle was done one time for each checkbox or radio option.\n  [thomasdesvenain]\n\n- Fix package metadata and trove classifiers.\n  [hvelarde]\n\n\n1.5.2 (2016-08-08)\n------------------\n\n- Use zope2.View instead of cmf.AddPortalContent for masterselect-jsonvalue\n  view. In an edit form, the user doesn't necessary have the Add portal content\n  permission.\n  [vincentfretin]\n\n\n1.5.1 (2016-01-08)\n------------------\n\n- Fix side-effect when updating field.vocabulary. Do now a copy of the field\n  before changing the vocabulary.\n  [vincentfretin]\n\n\n1.5 (2015-11-24)\n----------------\n\n- Translate the \"vocabulary\" slave field terms (like \"No value\") when entire vocabulary is replaced.\n  [sgeulette]\n\n\n1.4.1 (2014-10-30)\n------------------\n\n- jQuery 1.9 compatible.\n  [vincentfretin]\n\n\n1.4 (2014-10-09)\n----------------\n\n- masterselect.js is now cacheable.\n  [vincentfretin]\n\n- Move to plone.app.testing. Migrate selenium tests from windmill to\n  robotframework.\n  [saily]\n\n- Add travis and coveralls integration.\n  [saily]\n\n- Documentation updates. Fix rst error in ``CHANGES.rst``. Add an example\n  to ``README.rst``.\n  [saily]\n\n- Add egg-contained buildout.\n  [saily]\n\n\n1.3 (2014-06-16)\n----------------\n\n- Do not use fast transition on initial trigger.\n  [thomasdesvenain]\n\n- Master select features work when form is loaded in an overlay.\n  [thomasdesvenain]\n\n- Fix bug when masterselect is in a fieldset that is not visible.\n  [cedricmessiant]\n\n- Add master select radio widget and ability to specify a master Selector\n  instead of masterID [ebrehault]\n\n\n1.2 (2013-11-04)\n----------------\n\n- Added a ('fast') jQuery transition on show/hide function.\n  [thomasdesvenain]\n\n\n1.1 (2013-08-26)\n----------------\n\n- Made compatible with z3c.form 3.0 and jQuery 1.6+.\n  Note: this version drops compatibility with jQuery 1.4.\n  Please use plone.formwidget.masterselect 1.0 for plone\n  versions < 4.3\n\n\n1.0 (2013-06-10)\n----------------\n\n- Replaced jq by jQuery in generated scripts.\n  [vincentfretin]\n\n- Removed plone.directives.form dependency\n  Removed plone.app.jquerytools dependency\n  Fixed demo profile\n  Made some cleanup\n  [cedricmessiant]\n\n- Initial checkin, ready for testing.\n  [JMehring]\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "A z3c.form widget that controls the vocabulary or display of other fields on an edit page",
    "version": "3.0.0",
    "project_urls": {
        "Homepage": "https://github.com/collective/plone.formwidget.masterselect"
    },
    "split_keywords": [
        "plone",
        "widget"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af65c5b0b4ae2764855c9d9cb7cf25501d66634d2adc5bbb55d5fc946b4f25e1",
                "md5": "39808b77252c197609dc4d542fe5ffa3",
                "sha256": "f1bfb5190b71437eb1a70f71d48980cfc816d1d26ccd653155c51e24563dd9d3"
            },
            "downloads": -1,
            "filename": "plone.formwidget.masterselect-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "39808b77252c197609dc4d542fe5ffa3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 32897,
            "upload_time": "2024-06-05T08:27:09",
            "upload_time_iso_8601": "2024-06-05T08:27:09.203104Z",
            "url": "https://files.pythonhosted.org/packages/af/65/c5b0b4ae2764855c9d9cb7cf25501d66634d2adc5bbb55d5fc946b4f25e1/plone.formwidget.masterselect-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e46b45827f4e362e37bbc4e3acba7a547ddb279912deb4c05f33abe9f92ddc9",
                "md5": "8fa47042dce2581a5f6988b0ae467407",
                "sha256": "32e18aac8b46614d79b007317b3aab11f625355b1612fc54fa36681631b2aaac"
            },
            "downloads": -1,
            "filename": "plone.formwidget.masterselect-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8fa47042dce2581a5f6988b0ae467407",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 38159,
            "upload_time": "2024-06-05T08:27:14",
            "upload_time_iso_8601": "2024-06-05T08:27:14.683542Z",
            "url": "https://files.pythonhosted.org/packages/3e/46/b45827f4e362e37bbc4e3acba7a547ddb279912deb4c05f33abe9f92ddc9/plone.formwidget.masterselect-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-05 08:27:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "collective",
    "github_project": "plone.formwidget.masterselect",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "plone.formwidget.masterselect"
}
        
Elapsed time: 0.42251s