source: main/waeup.kofa/trunk/src/waeup/kofa/utils/overrides.zcml @ 8150

Last change on this file since 8150 was 8150, checked in by uli, 13 years ago

Register FormattedDateDisplayWidget? for FormattedDate? schema type.

File size: 1.2 KB
Line 
1<configure xmlns="http://namespaces.zope.org/zope">
2
3  <adapter
4      for="zope.schema.interfaces.IBool
5           zope.publisher.interfaces.browser.IBrowserRequest"
6      provides="zope.formlib.interfaces.ISimpleInputWidget"
7      factory=".converters.ExtendedCheckBoxWidget"
8      permission="zope.Public"
9      />
10
11  <adapter
12      for="zope.schema.interfaces.IDate
13           zope.publisher.interfaces.browser.IBrowserRequest"
14      provides="zope.formlib.interfaces.ISimpleInputWidget"
15      factory="waeup.kofa.widgets.datewidget.FormattedDateWidget"
16      permission="zope.Public"
17      />
18
19  <adapter
20      for="waeup.kofa.schema.interfaces.IFormattedDate
21           zope.publisher.interfaces.browser.IBrowserRequest"
22      provides="zope.formlib.interfaces.ISimpleInputWidget"
23      factory="waeup.kofa.widgets.datewidget.FormattedDateWidget"
24      permission="zope.Public"
25      />
26
27  <adapter
28      for="waeup.kofa.schema.interfaces.IFormattedDate
29           zope.publisher.interfaces.browser.IBrowserRequest"
30      provides="zope.formlib.interfaces.IDisplayWidget"
31      factory="waeup.kofa.widgets.datewidget.FormattedDateDisplayWidget"
32      permission="zope.Public"
33      />
34
35</configure>
Note: See TracBrowser for help on using the repository browser.