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

Last change on this file since 17394 was 17242, checked in by Henrik Bettermann, 23 months ago

Merge with uli-paypal branch r17241.

File size: 756 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="meta.zcml" />
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.