Skip to main content
Skip table of contents

utilities - ui

Die nachfolgenden Inhalte sind nur in englischer Sprache verfügbar.

The ui module provides functions for interacting with the user from jython

Displaying dialog messages and message boxes

Note:

  • The messages generated by these functions will only be displayed if there is an attached client session to the jython context.
  • For example when a user triggers an event from the client, an event containing a message box will be able to display that message to the user
  • A web interface triggering the same event would not display the message as there is no attached client session to a web call
  • All messages are non-blocking 
FunctionParametersReturn ValueDescription
dialog_message(message_id)message_id: ID of a dialog message from table 428
Displays a dialog message to the user
message_box(message, caption=None, ole_id=None)

message: The text of your message box


caption: An optional caption for your message box. When the caption is None the system title is used.

ole_id: The ID of an OLE from table 031 to display as icon for the message box



Displays a message box to the user

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.