Mercurial > libervia-web
diff src/browser/sat_browser/menu.py @ 500:67a4e8383b70
browser side (XMLUI): XMLUI update to follow core changes:
- Dialogs are now managed
- FileDialog raise a NotImplementedError, it's not yet possible in Libervia
- XMLUIPanel.show is implemented
- following core changes, we now create an XMLUI with xmlui.create(...)
- WidgetFactory now inherit from GenericFactory
- workaround for __getattr__ bug in pyjamas, now createXXX are automaticaly created with inspection
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 13 Aug 2014 14:09:09 +0200 |
parents | 60be99de3808 |
children | 4aa627b059df |
line wrap: on
line diff
--- a/src/browser/sat_browser/menu.py Fri Jul 25 11:43:27 2014 +0200 +++ b/src/browser/sat_browser/menu.py Wed Aug 13 14:09:09 2014 +0200 @@ -173,7 +173,7 @@ def gotUI(xml_ui): if not xml_ui: return - body = xmlui.XMLUI(self.host, xml_ui) + body = xmlui.create(self.host, xml_ui) _dialog = dialog.GenericDialog("Manage your account", body, options=['NO_CLOSE']) body.setCloseCb(_dialog.close) _dialog.show() @@ -183,7 +183,7 @@ def gotParams(xml_ui): if not xml_ui: return - body = xmlui.XMLUI(self.host, xml_ui) + body = xmlui.create(self.host, xml_ui) _dialog = dialog.GenericDialog("Parameters", body, options=['NO_CLOSE']) body.setCloseCb(_dialog.close) _dialog.setSize('80%', '80%')