- Timestamp:
- 13 Nov 2014, 14:40:27 (10 years ago)
- Location:
- main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/schoolgrades.py
r9055 r11949 23 23 from zope.schema.fieldproperty import FieldProperty 24 24 from zope.schema import Object 25 from waeup. kofa.interfaces import IResultEntry, IResultEntryField26 from waeup. kofa.widgets.objectwidget import (27 KofaObjectWidget, KofaObjectDisplayWidget25 from waeup.ikoba.interfaces import IResultEntry, IResultEntryField 26 from waeup.ikoba.widgets.objectwidget import ( 27 IkobaObjectWidget, IkobaObjectDisplayWidget 28 28 ) 29 29 … … 84 84 return 85 85 86 # register KofaObjectWidgets as default widgets for IResultEntryFields86 # register IkobaObjectWidgets as default widgets for IResultEntryFields 87 87 @grok.adapter(IResultEntryField, IBrowserRequest) 88 88 @grok.implementer(IInputWidget) 89 89 def result_entry_input_widget(obj, req): 90 return KofaObjectWidget(obj, req, ResultEntry)90 return IkobaObjectWidget(obj, req, ResultEntry) 91 91 92 92 # register a display widget for IResultEntryFields … … 94 94 @grok.implementer(IDisplayWidget) 95 95 def result_entry_display_widget(obj, req): 96 return KofaObjectDisplayWidget(obj, req, ResultEntry)96 return IkobaObjectDisplayWidget(obj, req, ResultEntry)
Note: See TracChangeset for help on using the changeset viewer.