AddRemoveWidget
- Warning
- This product has not had a release in over 1 year and may no longer be maintained.
This is a replacement for KeywordWidget which permits you to add items from a vocabulary (and optionally new items) using a pair of selection boxes with "add" and "remove" buttons to transfer items between them.
Project Description
This is a replacement for KeywordWidget which permits you to add items from
a vocabulary (and optionally new items) using a pair of selection boxes with
"add" and "remove" buttons to transfer items between them. It overlaps in
functionality with InAndOutWidget, but does not suffer from InAndOut's
requirement for all items in the "target" list to be selection upon form
submission. I believe InAndOut does not allow textual items to be added
by the user, though it does support adding of referenced objects, which
AddRemove does not. You are advised to test both to find out which one is
more suitable for your needs.
Please see the docstring in AddRemoveWidget.py for a list of options you
may pass to the widget to configure it.
You can also use the widget standalone, by defining a couple of variables
(notably fieldName and vocabulary) and include the macro add_remove_box from
widget_addremove.pt. See the comment in that file for details.
ComboBoxWidget
Also included is a ComboBoxWidget - it can be seen as supporting the same
use case, when only one item may be selected. It presents a selection box
from which to select a value, and a text box to enter an "other" value if
none of the items in the list are sufficient.
Again, see the docstring in ComboBoxWidget.py, and the comment in
widget_combobox.pt for details on how to use it within and outside.
See Also
If you simply want to replace the KeywordWidget on all Archetypes, try this instead:
Current Release
Products.AddRemoveWidget addremovewidget-1.4.4
Released Aug 16, 2010
-
Get
AddRemoveWidget
for
all platforms
- Products.AddRemoveWidget-1.4.4.zip
-
Get
AddRemoveWidget
for
all platforms
- Traditional old-style tarball
- If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.
All Releases
| Version | Released | Description | Compatibility | Status |
|---|---|---|---|---|
| addremovewidget-1.4.4 | Aug 16, 2010 | More about this release… | final | |
| 1.4.3 | Aug 06, 2010 | More about this release… | final | |
| 1.4.2 | Nov 04, 2009 | Install and profile cleanup, Plone 3 and 4 compatible. More about this release… |
Plone 4
Plone 3
|
final |
| 1.4 | Sep 10, 2008 | Bugfix release More about this release… |
Plone 3
|
final |
| 1.3 | Jul 07, 2008 | Fixed rendering for ComboBoxWidget in IE7 More about this release… |
Plone 2.5
Plone 3
|
final |
| 1.2 | Jun 26, 2008 | Updated version to function as a drop-in replacement of the oft-maligned KeywordWidget. More about this release… |
Plone 2.5
Plone 3
|
final |
| 1.0 | Dec 07, 2007 | A long time resident of the Archetypes repository, AddRemoveWidget makes its debut on plone.org. This release exists primarily so it can be shipped with a Plone 3 compatibile release of PloneSoftwareCenter (1.5). More about this release… |
Plone 3
|
final |

