Ejemplo n.º 1
0
 def isCheckBoxLayout(self, field_name):
     widget = self.widgets[field_name]
     return (ICheckBoxWidgetLayout.providedBy(widget)
             and not IMultiLineWidgetLayout.providedBy(widget))
Ejemplo n.º 2
0
 def isCheckBoxLayout(self, field_name):
     widget = self.widgets[field_name]
     return ICheckBoxWidgetLayout.providedBy(widget) and not IMultiLineWidgetLayout.providedBy(widget)
Ejemplo n.º 3
0
 def isSingleLineLayout(self, field_name):
     widget = self.widgets[field_name]
     return not (IMultiLineWidgetLayout.providedBy(widget)
                 or ICheckBoxWidgetLayout.providedBy(widget))
Ejemplo n.º 4
0
 def isSingleLineLayout(self, field_name):
     widget = self.widgets[field_name]
     return not (IMultiLineWidgetLayout.providedBy(widget) or ICheckBoxWidgetLayout.providedBy(widget))