I18n datetime entry widget.
The displayStyle attribute may be set to control the formatting of the value.
displayStyle must be one of 'full', 'long', 'medium', 'short', or None ('' is accepted an an alternative to None to support provision of a value from ZCML).
NOTE: If you need timezone information you need to set displayStyle to either 'long' or 'full' since other display styles just ignore it.
convert_missing_value
(type:
bool
)
True
cssClass
(type:
unicode
)
u''
default
(type:
str
)
''
displayMaxWidth
(type:
str
)
''
displayStyle
(type: NoneType
)
None
displayWidth
(type:
int
)
20
extra
(type:
str
)
''
style
(type:
str
)
''
tag
(type:
unicode
)
u'input'
type
(type:
unicode
)
u'text'
visible
(type:
bool
)
True
hint(...)
label(...)
applyChanges(content)
error()
getInputValue()
hasInput()
See IWidget.hasInput.
Returns True if the submitted request form contains a value for the widget, otherwise returns False.
Some browser widgets may need to implement a more sophisticated test for input. E.g. checkbox values are not supplied in submitted forms when their value is 'off' -- in this case the widget will need to add a hidden element to signal its presence in the form.
hasValidInput()
hidden()
setPrefix(prefix)
setRenderedValue(value)
There are no known subclasses.