CAF Success Messages

CAF portlets implement a default error message handler that can be used within the view to display custom error messages. Is there a corresponding feature to display a success message in a different format (i.e. not RED) so that an application can provide consistent feedback to the user?

We are currently using WM 7.1.2, but will be upgrading soon to 8.2, so if there is a solution in 8.2 that is not in 7.1.2, that would be useful.

The Severity of the FacesMessage determines how it is displayed on the screen. You would probably want to use a message whose Severity was FacesMessage.SEVERITY_INFO to non-error information messages.

There is a helper function in the base class of your page managed bean that will assist adding a message with a supplied severity level.

See:

http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_ga/My_webMethods/8-2-SP1_CAF_and_MWS_Java_API_Reference/com/webmethods/caf/faces/bean/BaseFacesBean.html#error(FacesMessage.Severity,%20java.lang.String,%20java.lang.String)