Skip to main content

A formlib list widget that uses Javascript

Project description

z3c.listjs

z3c.listjs contains a widget called ListJsWidget that is a drop-in replacement for the zope.app.form.browser.ListSequenceWidget. It allows users to add and remove list items without the need for server interaction, using Javascript.

Note: This package only works with zope.formlib (zope.app.form) and is not compatible with z3c.form.

You can use ListJsWidget for any schema.List field using the normal zope.formlib custom widget pattern:

from z3c.listjs import ListJsWidget

...

form_fields['foo'].custom_widget = ListJsWidget

With the right ZCML override it should also be possible to automatically use this widget in all cases ListSequenceWidget would normally be used. Documentation contributions are welcome!

CHANGES

1.0a1 (2009-01-08)

  • Initial public release.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3c.listjs-1.0a1.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page