Changeset 8891


Ignore:
Timestamp:
3 Jul 2012, 17:20:29 (12 years ago)
Author:
uli
Message:

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

Location:
main/kofacustom.nigeria/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk

  • main/kofacustom.nigeria/trunk/buildout.cfg

    r8851 r8891  
    44# Install waeup.kofa as develop egg
    55auto-checkout = waeup.kofa
     6sources-dir = sources
    67develop = .
    78parts =
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/configure.zcml

    r8863 r8891  
    11<configure xmlns="http://namespaces.zope.org/zope"
    2            xmlns:grok="http://namespaces.zope.org/grok"
    3            xmlns:i18n="http://namespaces.zope.org/i18n">
     2           xmlns:grok="http://namespaces.zope.org/grok">
    43
    5   <!-- Loading grok also configures a lot of other needed packages correctly.
     4  <!-- Loading waeup.kofa also configures a lot of other needed
     5       packages correctly.
    66  -->
     7  <include package="waeup.kofa" />
    78  <include package="kofacustom.nigeria" file="locales.zcml" />
    8   <include package="grok" />
    9   <includeOverrides package="kofacustom.nigeria" file="overrides.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
    1020</configure>
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r8863 r8891  
    6666    """ Page to display student personal data
    6767    """
    68     grok.context(INigeriaStudent)
    6968    form_fields = grok.AutoFields(INigeriaStudentPersonal)
    7069    form_fields['perm_address'].custom_widget = BytesDisplayWidget
     
    8079    """ Page to display student clearance data
    8180    """
    82     grok.context(INigeriaStudent)
    8381
    8482    @property
     
    9694    """Deliver a PDF slip of the context.
    9795    """
    98     grok.context(INigeriaStudent)
    9996
    10097    @property
     
    112109    """ Page to edit student clearance data
    113110    """
    114     grok.context(INigeriaStudent)
    115111
    116112    @property
     
    126122    """ View to edit student clearance data by student
    127123    """
    128     grok.context(INigeriaStudent)
    129124
    130125    @property
Note: See TracChangeset for help on using the changeset viewer.