source: main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/configure.zcml @ 17950

Last change on this file since 17950 was 17239, checked in by uli, 2 years ago

Sketches of paypal :)

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.