collective.z3cform.datetimewidget

by Rok Garbas last modified Sep 24, 2011 08:52 PM

z3c.form date and datetime widgets

Project Description

Various z3c.form date and datetime widgets

Improved datetime widgets for z3c.form

When the emphasis of the application you are designing is on speed and speed alone, then the single field pattern might be your friend. It's particularly useful for data entry applications in which the person who has to enter the data will have to use the same input form time and time again.

The collective.z3cform.datetimewidget library provides a form framework and widgets. This document ensures that we implement a widget for Date and Datetime field defined in zope.schema. Take a look at the different widget doctest files for more information about the widgets.

TODO

  • create DateDeltaWidget and DatetimeDeltaWidget

Contributors

  • Vincent Fretin - vincentfretin
  • David Glick - davisagli
  • Rok Garbas - garbas
  • Carsten Senger - csenger

Changelog

1.1.1 (2011-09-24)

  • Fix conditional for the GS profile. [davisagli]

1.1 (2011-09-12)

  • Fix validation errors so they are caught and correctly reported by z3c.form. [davisagli]
  • Added a GS profile (conditionally loaded in configure.zcml if generic setup is installed) to enable the plone.app.jquerytools css & js support for dateinput popup. [smcmahon]
  • Made js for dateinput popup check for jQuery().dateinput before invoking it. Changed from $ to jQuery. [smcmahon]
  • IE was baulking on a missing closing parenthesis. [danjacka]

1.0.5 (2011-06-28)

  • Change more $ to jQuery. [danjacka]
  • Fix month selection issue with the date input widget. Previously, due to the leading zero, months < 10 weren't being selected when picking a date on the calendar widget. [davidjb]
  • Fix date offset issue for default dates on the jQuery date input widget. Providing the default value as a JavaScript Date(yyyy, mm, dd) required months to be in the range of 0 to 11 but outputting as Date("yyyy/mm/dd") works as expected. [davidjb]
  • Fix issue with jQuery date input widget not being displayed when an incomplete date was entered. [davidjb]
  • Avoid error fetching widget values when no year or day was entered. [davisagli]
  • Made js for dateinput popup check for jQuery().dateinput before invoking it. Changed from $ to jQuery. [smcmahon]
  • removed trailing comma in JavaScript dict (which broke Internet Explorer) [Brainix]

1.0.4 (2011-01-19)

  • fixed show_jquerytools_dateinput_js for DatetimeWidget [awello]
  • fix time-dependent test [davisagli]

1.0.3 (2011-01-03)

  • Should use None for tal:attributes (Chameleon compatibility) [rossp]
  • Added options for calendar (via jquery.tools.dateinput) [garbas]

1.0.2 (2010-07-20)

  • Fix invalid XML (Chameleon compatibility) [wichert]

1.0.1 (2010-06-30)

  • add show_today_link to the IDateWidget interface [csenger]
  • Italian translation added [garbas]

1.0 (2010-04-18)

  • extract values in HIDDEN_MODE and add test for extract() [csenger]
  • fix handling of AM/PM in DateTimeWidget and add test [csenger]

0.1a9 (2009-09-07)

  • provide french translation [vincentfretin]

0.1a8 (2009-09-04)

  • provide english, german, slovenian, spanish, portugal, croatian, serbian(latin&cyrilic) translations [garbas]

0.1a7 (2009-09-04)

  • MonthYearWidget added [garbas]
  • spliting widget.py script into script for each widget [garbas]
  • only using one hidden/display template [garbas]
  • show_today_link widget option which is inserting current date into fields using plain javascript

0.1a6 (2009-06-05)

  • intendation problem again, this just isnt my day, tests passing [garbas]

0.1a5 (2009-06-05)

  • intendation problem, didn't set new vim setup properly :P [garbas]

0.1a4 (2009-06-05)

  • MANIFEST.in file fixed, now includes README.txt and HISTORY.txt [garbas]

0.1a3 (2009-06-05)

  • widget was not showing values from request [garbas]
  • ISSUE 1: SOLVED [garbas] After some testing I have seen that some validations are missing, therefore I get an error when adding values like '99' into the year field: "ValueError: year=99 is before 1900; the datetime strftime() methods require year >= 1900"

0.1a2 (2009-05-28)

  • Register the widgets for custom interfaces that we apply to the standard datetime fields, to work around a problem with ZCML conflicting with z3c.form. [davisagli]

0.1a1 (2009-05-11)

  • Initial release

Current Release
collective.z3cform.datetimewidget 1.1.1

Released Sep 24, 2011 — tested with Plone 4.1, Plone 4, Plone 3

Bugfix
More about this release…

Download file Get collective.z3cform.datetimewidget for all platforms
collective.z3cform.datetimewidget-1.1.1.zip
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
1.1.1 Sep 24, 2011 Bugfix More about this release…
Plone 4.1
Plone 4
Plone 3
final
1.1 Sep 12, 2011 More about this release… final
1.0.5 Jun 28, 2011 More about this release… final
1.0.2 Jul 21, 2010 More about this release… final
1.0 Apr 19, 2010 More about this release… final
0.1a9 More about this release… alpha
0.1a8 More about this release… alpha
0.1a7 More about this release… alpha
0.1a6 More about this release… alpha
0.1a4 More about this release… alpha
0.1a3 More about this release… alpha
0.1a2 More about this release… alpha
0.1a1 More about this release… pre-release

Comments (0)