Skip to main content

zope.formlib integration for Plone

Project description

plone.app.form

Overview

The plone.app.form package gives Plone the ability to better adapt common zope.formlib UI style functionality to a more appropriate Plone style.

Features

  • Better integration with zope.formlib. The default templates distributed with zope.formlib are table-based and don’t follow common Plone UI patterns, plone.app.form addresses this.

Changelog

2.0b4 - 2010-04-08

2.0b3 - 2010-03-05

  • Decode form inputs before trying to do inline validation of them, the same way they would be in a real form submission. This closes http://dev.plone.org/plone/ticket/9757. [davisagli]

  • Use the search text input as the target for the uberselection widget label. Fixes invalid HTML. [rossp]

  • Fix invalid HTML by moving the xmlns declarations into a tag that will be omitted by TAL. [rossp]

2.0b2 - 2010-02-17

2.0b1 - 2009-12-27

  • Fixed package dependency declaration. [hannosch]

2.0a2 - 2009-12-02

  • Updated the LanguageDropdownChoiceWidget to present its options sorted by the localized title. So far it showed localized titles while keeping English ordering. [hannosch]

2.0a1 - 2009-11-14

  • Made sure to use the correct ViewPageTemplateFile from Products.Five. [hannosch]

  • Updated to use new locations for IAdding and IObjectEvent. [hannosch]

  • Updated checkboxwidget hacks to work with zope.app.form 3.8.0. [hannosch]

  • Use getSite from zope.site instead of zope.app.component. [hannosch]

  • Made sure tests don’t rely on kupu. [hannosch]

  • Updated import of ITerms to zope.browser.interfaces. [hannosch]

  • Made kss support truly optional and advertise it via an extra. [hannosch]

  • Use our own PloneMessageFactory. We don’t depend on CMFPlone anymore. [hannosch]

  • Specified package dependencies. [hannosch]

  • Corrected the NamedTemplateAdapter to work with the modified ViewPageTemplateFile in Zope 2.12. [davisagli]

1.1.9 - Unreleased

1.1.8 - 2009-10-09

  • Made default truncation size of 20 results on the uberselectionwidget configurable by a simple variable called limit_results on the widget. [hannosch]

  • Fixed return value of multi selection widget _value method. The template tries to get len() of the value, but fails if the value is None. This allows to use multi selection widget in the portlets, for example. [naro]

1.1.7 - 2008-03-07

1.1.6 - 2008-11-21

  • Made a test less dependent on the exact HTML output, so it works across Zope versions with slightly different newline ending semantics. [hannosch]

  • Only include KSS subpackage if kss.core is available. [hannosch]

  • Fixed KSS payload tests to omit a trailing newline. [hannosch]

  • Use structure for errors again, this seems to have been lost in the merge of r19540. [elro]

1.1.5 - 2008-08-18

plone.app.form - 1.1.0 Released April 20th, 2008

  • Changed the patch warning to debug level. This is nothing the end users have to see. [hannosch]

plone.app.form - 1.1.0a1

  • Improve KSS inline validation for complex widgets like the UberSelectionwidget that require more than a single form value to validate. [optilude]

  • PLIP202: add support for KSS validation and inline editing for formlib forms [optilude]

plone.app.form - 1.0.5

  • For the USW: Made description of search result and current selection items consistent, always include the current selection fieldset (hidden if empty) and added CSS classes to the current selection and search result fieldsets. [fschulze]

  • Fix widget error rendering in template (added structure keyword). [ldr]

plone.app.form - 1.0.4 Released December 6th, 2007

  • Omit first label tag completely instead of having an empty one for checkboxes. [fschulze]

  • Added id to wrapping div of the field for easy access for styles and javascripts, the form is ‘field-$fieldname’. [fschulze]

plone.app.form - 1.0.3 Released

  • Changed template to render info messages as infos and error messages as errors, instead of all messages (info and error both) as errors. [derek_richardson]

  • Protect against funky aq_chains. [hannosch, rafrombrc]

plone.app.form - 1.0.2 Released

  • Fixed fall back to language name in LanguageDropdownChoiceWidget. [hannosch]

  • Added i18n markup to the formlib base templates, so the required message will be translated the same way as in the rest of Plone. This closes http://dev.plone.org/plone/ticket/7063. [hannosch]

plone.app.form - 1.0.1 Released

  • Add a form validator that only validates an action when updating a form. This makes it possible to add actions manually in the template without having formlib autogenerate buttons in other places. [wichert]

plone.app.form - 1.0 Released August 17, 2007

  • Let the UberSelectionWidget handle optional fields properly. [optilude]

  • Added a new LanguageDropdownChoiceWidget, which renders a dropdown widget which is populated by a language vocabulary. The language names are then localized based on the zope.i18n.locales information. [hannosch]

  • Added a new DisabledCheckBoxWidget, which renders a disabled variant of the CheckBoxWidget. [hannosch]

  • Keep existing date in the calendar widget in datecomponents.py. This closes http://dev.plone.org/plone/ticket/5833. [hannosch]

plone.app.form - 1.0b1 Released March 5, 2007

  • Initial implementation. [alecm, rocky, optilude]

  • Initial package structure. [zopeskel]

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

plone.app.form-2.0b4.zip (52.6 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