source: main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/configure.zcml @ 11581

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

Merge changes from uli-autoinclude-less branch back into trunk.

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