public int sendMsg(String msg, int dialogFlags);
An integer that indicates the button that the user has clicked to terminate the user-response dialog box. Compare this integer value with the following user-response constants:
The sendMsg() method sends a request to Business Object Wizard to display a user-response dialog box to the user. You specify the following components of this user-response dialog box:
The user clicks one of these buttons to terminate the user-response dialog box. You specify these buttons with the dialog-button constants, in the "Buttons to display" section of Table 110.
The icon determines the type of user-response dialog box to display. You specify the dialog box type with one of the dialog-icon constants, in the "dialog box icon to display" section of Table 110.
To specify the dialogFlags argument, create a mask of the user-response-dialog constants that describe the appearance of your user-response dialog box. For example, the following call to sendMsg() creates a user-response dialog box that displays an error icon as well as the buttons Retry and Cancel:
String msg = new String(bdkUtil.getMsg( 1002, ODKConstant.XRD_ERROR, params)); bdkUtil.sendMsg(msg, ODKConstant.MSG_RETRYCANCEL | ODKConstant.MSG_ERROR);