- Timestamp:
- 25 Dec 2014, 08:27:45 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/widgets/objectwidget.py
r12314 r12316 28 28 template = ViewPageTemplateFile('objectwidget.pt') 29 29 30 class I kobaObjectWidgetDisplayView(ObjectWidgetView):31 template = ViewPageTemplateFile(' objectdisplaywidget.pt')30 class IProductOptionWidgetDisplayView(ObjectWidgetView): 31 template = ViewPageTemplateFile('productoptiondisplaywidget.pt') 32 32 33 33 class IkobaObjectWidget(ObjectWidget): … … 82 82 83 83 def _getView(self, request): 84 return IkobaObjectWidgetDisplayView(self, request) 84 if self.context.schema.__name__ == 'IProductOptionEntry': 85 return IProductOptionWidgetDisplayView(self, request) 86 return IkobaObjectWidgetView(self, request)
Note: See TracChangeset for help on using the changeset viewer.