diff frontends/wix/main_window.py @ 35:c45deebb40a5

Wix: Registration form management (not finished yet) - impoved xml conversion in xml_tools
author Goffi <goffi@goffi.org>
date Sun, 13 Dec 2009 20:24:48 +1100
parents b9bb5d8e0cc7
children 6491b7956c80
line wrap: on
line diff
--- a/frontends/wix/main_window.py	Sun Dec 13 18:36:20 2009 +1100
+++ b/frontends/wix/main_window.py	Sun Dec 13 20:24:48 2009 +1100
@@ -23,6 +23,7 @@
 import wx
 from chat import Chat
 from param import Param
+from form import Form
 from gateways import GatewaysManager
 import gobject
 import os.path
@@ -329,7 +330,8 @@
             dlg.Destroy()
         elif type == "FORM":
             self.current_action_ids.remove(id)
-            info ("Form received !")
+            debug ("Form received")
+            form=Form(self, title='Registration', type = data['type'], xml_data = data['xml'])
         elif type == "DICT_DICT":
             self.current_action_ids.remove(id)
             if self.current_action_ids_cb.has_key(id):