Mercurial > libervia-web
changeset 719:9a9e2fcc6347
browser side (xmlui): added basic JidInputWidget (use a StringWidget)
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 18 Aug 2015 10:47:59 +0200 |
parents | 5745b5e6586a |
children | bf0a7da558e8 |
files | src/browser/sat_browser/xmlui.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/sat_browser/xmlui.py Tue Aug 18 08:10:02 2015 +0200 +++ b/src/browser/sat_browser/xmlui.py Tue Aug 18 10:47:59 2015 +0200 @@ -99,6 +99,12 @@ self.addChangeListener(callback) +class JidInputWidget(xmlui.JidInputWidget, StringWidget): + + def __init__(self, _xmlui_parent, value, read_only=False): + StringWidget.__init__(self, _xmlui_parent, value, read_only) + + class PasswordWidget(xmlui.PasswordWidget, PasswordTextBox): def __init__(self, _xmlui_parent, value, read_only=False):