Class
zope.app.form.browser.textwidgets.BytesWidget

Bytes widget.

Single-line data (string) input

>>> from zope.publisher.browser import TestRequest
>>> from zope.schema import BytesLine
>>> field = BytesLine(__name__='foo', title=u'on')
>>> request = TestRequest(form={'field.foo': u'Bob'})
>>> widget = BytesWidget(field, request)
>>> widget.hasInput()
True
>>> widget.getInputValue()
'Bob'

Base classes

Implemented Interfaces

Attributes/Properties

Methods

Known Subclasses