Ignore:
Timestamp:
15 Apr 2012, 00:30:20 (13 years ago)
Author:
uli
Message:

Add datetime widgets and schema fields as we have them for date.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/widgets
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/widgets/overrides.zcml

    r8157 r8158  
    2525      />
    2626
     27  <adapter
     28      for="waeup.kofa.schema.interfaces.IFormattedDatetime
     29           zope.publisher.interfaces.browser.IBrowserRequest"
     30      provides="zope.formlib.interfaces.ISimpleInputWidget"
     31      factory="waeup.kofa.widgets.datetimewidget.DatetimeLEWidget"
     32      permission="zope.Public"
     33      />
     34
     35  <adapter
     36      for="waeup.kofa.schema.interfaces.IFormattedDatetime
     37           zope.publisher.interfaces.browser.IBrowserRequest"
     38      provides="zope.formlib.interfaces.IDisplayWidget"
     39      factory="waeup.kofa.widgets.datetimewidget.DatetimeLEDisplayWidget"
     40      permission="zope.Public"
     41      />
     42
    2743</configure>
Note: See TracChangeset for help on using the changeset viewer.