Mercurial > libervia-web
diff src/browser/sat_browser/xmlui.py @ 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 | 82123705474b |
children | bf0a7da558e8 |
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):