Changeset 8891 for main/kofacustom.nigeria/trunk
- Timestamp:
- 3 Jul 2012, 17:20:29 (12 years ago)
- Location:
- main/kofacustom.nigeria/trunk
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk
-
Property
svn:mergeinfo
set to
/main/kofacustom.nigeria/branches/uli-autoinclude-less merged eligible
-
Property
svn:mergeinfo
set to
-
main/kofacustom.nigeria/trunk/buildout.cfg
r8851 r8891 4 4 # Install waeup.kofa as develop egg 5 5 auto-checkout = waeup.kofa 6 sources-dir = sources 6 7 develop = . 7 8 parts = -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/configure.zcml
r8863 r8891 1 1 <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"> 4 3 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. 6 6 --> 7 <include package="waeup.kofa" /> 7 8 <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 10 20 </configure> -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
r8863 r8891 66 66 """ Page to display student personal data 67 67 """ 68 grok.context(INigeriaStudent)69 68 form_fields = grok.AutoFields(INigeriaStudentPersonal) 70 69 form_fields['perm_address'].custom_widget = BytesDisplayWidget … … 80 79 """ Page to display student clearance data 81 80 """ 82 grok.context(INigeriaStudent)83 81 84 82 @property … … 96 94 """Deliver a PDF slip of the context. 97 95 """ 98 grok.context(INigeriaStudent)99 96 100 97 @property … … 112 109 """ Page to edit student clearance data 113 110 """ 114 grok.context(INigeriaStudent)115 111 116 112 @property … … 126 122 """ View to edit student clearance data by student 127 123 """ 128 grok.context(INigeriaStudent)129 124 130 125 @property
Note: See TracChangeset for help on using the changeset viewer.