source: main/kofacustom.nigeria/branches/uli-autoinclude-less/src/kofacustom/nigeria/configure.zcml @ 8874

Last change on this file since 8874 was 8874, checked in by uli, 12 years ago

Get rid of includeDependencies. The only package we really need,
currently, is waeup.kofa. This also configures all dependent packages
and we have no additional stuff to configure.

Also get rid of includeOverrides where it makes no sense.

File size: 752 bytes
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:grok="http://namespaces.zope.org/grok"
3           xmlns:i18n="http://namespaces.zope.org/i18n">
4
5  <!-- Loading waeup.kofa also configures a lot of other needed
6       packages correctly.
7  -->
8  <include package="waeup.kofa" />
9  <include package="kofacustom.nigeria" file="locales.zcml" />
10  <grok:grok package="." />
11
12  <!-- Register edit widget for PhoneNumbers -->
13  <adapter
14      for="waeup.kofa.schema.interfaces.IPhoneNumber
15           zope.publisher.interfaces.browser.IBrowserRequest"
16      provides="zope.formlib.interfaces.ISimpleInputWidget"
17      factory="kofacustom.nigeria.widgets.phonewidget.NigeriaPhoneWidget"
18      permission="zope.Public"
19      />
20
21</configure>
Note: See TracBrowser for help on using the repository browser.