Mercurial > libervia-backend
diff sat_bridge/DBus.py @ 36:6491b7956c80
wix: Form submitting, first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 14 Dec 2009 02:11:05 +1100 |
parents | 53e921c8a357 |
children | a61beb21d16d |
line wrap: on
line diff
--- a/sat_bridge/DBus.py Sun Dec 13 20:24:48 2009 +1100 +++ b/sat_bridge/DBus.py Mon Dec 14 02:11:05 2009 +1100 @@ -187,6 +187,12 @@ return self.cb["confirmationAnswer"](id, accepted, data) @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX, + in_signature='sa(ss)', out_signature='s') + def submitForm(self, target, fields): + info ("Form submited") + return self.cb["submitForm"](target, fields) + + @dbus.service.method(const_INT_PREFIX+const_REQ_SUFFIX, in_signature='s', out_signature='a{ss}') def getProgress(self, id): #debug("Progress asked for %s", id)