def match(node): if not PloneWidget.match(node): return False name = PloneWidget(node, node.browser).fieldname if not name: return False return bool(DateTimeWidget(node, node.browser)._field("day"))
def match(node): if not PloneWidget.match(node): return False return len(node.css('.tableradio-widget-wrapper')) > 0
def match(node): if not PloneWidget.match(node): return False return len(node.css('div.autocompleteInputWidget')) > 0
def match(node): if not PloneWidget.match(node): return False return bool(node.css('>div.referencewidget'))
def match(node): if not PloneWidget.match(node): return False return len(node.css(PaternslibDateTimeWidget.field_selector)) == 1
def match(node): if not PloneWidget.match(node): return False return (len(node.css('.named-file-widget')) > 0 or len(node.css('.named-image-widget')) > 0)
def match(node): if not PloneWidget.match(node): return False return ('ArchetypesFileWidget' in node.classes or 'ArchetypesImageWidget' in node.classes)
def match(node): if not PloneWidget.match(node): return False return len(node.css('table.ordered-selection-field')) > 0