- Timestamp:
- 3 May 2011, 06:25:21 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 5 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6020 r6022 41 41 IWAeUPXMLImporter, IWAeUPXMLExporter, IBatchProcessor) 42 42 from waeup.sirp.university.catalog import search 43 from waeup.sirp.widgets.interfaces import ITableProvider44 43 from waeup.sirp.university.vocabularies import course_levels 45 44 … … 1104 1103 tabs.need() 1105 1104 datatable.need() 1106 #if 'delcourse' in self.request.form:1107 # code = self.request.form['code']1108 # del self.context.courses[code]1109 #if 'delcert' in self.request.form:1110 # code = self.request.form['code']1111 # del self.context.certificates[code]1112 #self.tables = ITableProvider(self.context).getTables(view=self)1113 #self.coursetable = self.tables[0]1114 #self.certificatetable = self.tables[1]1115 #self.coursetable.need()1116 1105 super(DepartmentPage, self).update() 1117 1106 return … … 1168 1157 tabs.need() 1169 1158 datatable.need() 1170 # self.tables = ITableProvider(self.context).getTables(view=self)1171 # self.coursetable = self.tables[0]1172 # self.certificatetable = self.tables[1]1173 # self.coursetable.need()1174 1159 super(DepartmentManageFormPage, self).update() 1175 1160 return -
main/waeup.sirp/trunk/src/waeup/sirp/widgets/interfaces.py
r4789 r6022 5 5 from zope.interface import Interface 6 6 7 class ITableProvider(Interface):8 """A provider for tables.9 """10 def getTables():11 """Get a tuple of tables.12 """
Note: See TracChangeset for help on using the changeset viewer.