Simon C
2006-01-02 17:36:09 UTC
I've added a function to the phonebook helper to allow it to display a list
of error message.
You can use it from any Phone classes "convertphonebooktophone" function.
Example from the vx4400:
helper.add_error_message("%s has number %s if of
type %s not supported by phone" %
(e['name'], num['number'],
num['type']))
The function also optionally takes a priority field that allows you to
control the order they get displayed in. If it is not supplied the messages
are displayed in the order they are added. There is a new helper class
(MultiMessageBox) in guihelper that is used for this, it could be used in
other places as well.
Attached is an example of the dialog that will get displayed if one or more
entries in the phonebook is not able to be sent to the 8100.
Comments?
Simon
of error message.
You can use it from any Phone classes "convertphonebooktophone" function.
Example from the vx4400:
helper.add_error_message("%s has number %s if of
type %s not supported by phone" %
(e['name'], num['number'],
num['type']))
The function also optionally takes a priority field that allows you to
control the order they get displayed in. If it is not supplied the messages
are displayed in the order they are added. There is a new helper class
(MultiMessageBox) in guihelper that is used for this, it could be used in
other places as well.
Attached is an example of the dialog that will get displayed if one or more
entries in the phonebook is not able to be sent to the 8100.
Comments?
Simon