Custom Messages
After a user submits a task, idmgr can display the following user-defined messages:
cim1265
After a user submits a task, can display the following user-defined messages:
- Informational messagesA logical attribute handler can define a custom informational message, such as an acknowledgement, to display to the user after the user successfully submits a task.To display a custom informational message for the task, specify the message in an addMessageObject() method inherited by LogicalAttributeContext.
- Exception messagesIf validation errors occur after a user submits a task, the task screen is redisplayed with the appropriate exception messages. This message gives the user the opportunity to correct the errors and resubmit the task.To enable to display custom exception messages on a task screen, add the messages to an IMSException object.supports localized exception messages, which you store in a family of resource bundles. Each resource bundle in the family contains the same messages, but in a different language. You specify the current user’s locale and the base name of the resource bundles, and selects the appropriate resource bundle from which to retrieve exception messages.For more information, see the IMSException class in the Javadoc Reference.