Master Select Widget
An Archetypes widget that looks like a normal select widget, but has the ability to control the display and vocabulary of other fields in the schema.
Current release
Master Select Widget 0.4.2
Released Apr 23, 2009 — tested with Plone 3
Updated to make it easier to customize master select widget views.
More about this release…
Get
Master Select Widget
for
all platforms
(14 kB)
- Release Tarball
Project Description
Master Select Widget is an Archetypes widget which looks and feels like a normal select dropdown; however, any time an item is selected it triggers javascript events which control the behavior of other fields in the schema. It can hide other fields using CSS, disable other widgets, and alter the vocabulary of other fields using XMLHttpRequest calls to a methods that produce AT DisplayLists (the subordinate fields must use Select, MultiSelect, or MasterSelect widgets).
You may have many of these 'master' widgets on a page and each can control multiple 'slave' fields. The 'slave' fields themselves can use 'master' widgets controlling their own 'slaves'. Currently a 'master' can only control one aspect (vocabulary, visibility. etc.) for each of its slaves, but multiple 'masters' can control the same 'slave'. This behavior is subject to change.
For more details look at the README.txt in the product directory, and try the included demo type.
