IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  CAF Success Messages

    Posted 08/02/11 11:57 PM

    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.


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 2.  RE: CAF Success Messages

    Posted 08/03/11 12:09 AM

    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)


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods