Changeset 5310


Ignore:
Timestamp:
22 Jul 2010, 15:43:57 (14 years ago)
Author:
uli
Message:

Make sure that the ObjectDisplayWidget? only offers IDisplayWidget
capabilities and not also IInputWidget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-fasttables/src/waeup/sirp/widgets/objectwidget.py

    r5306 r5310  
    2626from zope.formlib.objectwidget import ObjectWidget, ObjectWidgetView
    2727from zope.formlib.utility import setUpWidgets
     28from zope.interface import implements, implementsOnly
    2829from zope.schema import getFieldNamesInOrder
    2930
     
    6566class WAeUPObjectDisplayWidget(WAeUPObjectWidget):
    6667
     68    implementsOnly(IDisplayWidget)
     69
    6770    def _setUpDisplayWidgets(self):
    6871        # subwidgets need a new name
Note: See TracChangeset for help on using the changeset viewer.