source: main/waeup.sirp/trunk/src/waeup/sirp/utils/overrides.zcml @ 6278

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

Add extended bools widget. This one accepts also '1', 'true', 'yes' as True values, which is handy when importing CSV
files. We have to register this new widget overriding the default. Maybe a bit overkill?

File size: 331 bytes
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</configure>
Note: See TracBrowser for help on using the repository browser.