comparison frontends/wix/main_window.py @ 36:6491b7956c80

wix: Form submitting, first draft
author Goffi <goffi@goffi.org>
date Mon, 14 Dec 2009 02:11:05 +1100
parents c45deebb40a5
children 3e24753b9e0b
comparison
equal deleted inserted replaced
35:c45deebb40a5 36:6491b7956c80
329 dlg.ShowModal() 329 dlg.ShowModal()
330 dlg.Destroy() 330 dlg.Destroy()
331 elif type == "FORM": 331 elif type == "FORM":
332 self.current_action_ids.remove(id) 332 self.current_action_ids.remove(id)
333 debug ("Form received") 333 debug ("Form received")
334 form=Form(self, title='Registration', type = data['type'], xml_data = data['xml']) 334 form=Form(self, title='Registration', target = data['target'], type = data['type'], xml_data = data['xml'])
335 elif type == "DICT_DICT": 335 elif type == "DICT_DICT":
336 self.current_action_ids.remove(id) 336 self.current_action_ids.remove(id)
337 if self.current_action_ids_cb.has_key(id): 337 if self.current_action_ids_cb.has_key(id):
338 callback = self.current_action_ids_cb[id] 338 callback = self.current_action_ids_cb[id]
339 del self.current_action_ids_cb[id] 339 del self.current_action_ids_cb[id]