Ignore:
Timestamp:
2 Jul 2012, 00:36:20 (12 years ago)
Author:
uli
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/branches/uli-autoinclude-less/src/kofacustom/nigeria/configure.zcml

    r8863 r8874  
    33           xmlns:i18n="http://namespaces.zope.org/i18n">
    44
    5   <!-- Loading grok also configures a lot of other needed packages correctly.
     5  <!-- Loading waeup.kofa also configures a lot of other needed
     6       packages correctly.
    67  -->
     8  <include package="waeup.kofa" />
    79  <include package="kofacustom.nigeria" file="locales.zcml" />
    8   <include package="grok" />
    9   <includeOverrides package="kofacustom.nigeria" file="overrides.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
    1021</configure>
Note: See TracChangeset for help on using the changeset viewer.