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.

 View Only
Expand all | Collapse all

Displaying a HTML formatted string in a portlet

  • 1.  Displaying a HTML formatted string in a portlet

    Posted Wed December 01, 2010 09:53 AM

    We have a scenario where we need to display a string containing html tags which is returned by a flow service in a portlet. Surprisingly I do not see any output control supporting this. The ‘Include Html’ control needs a file reference and doesn’t take string as an input.

    Any help would be appreciated.


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


  • 2.  RE: Displaying a HTML formatted string in a portlet

    Posted Wed December 01, 2010 05:57 PM

    Just use the “Output > Text” control and set the “Escape” control property to false".

    NOTE: If you turn off html escaping for the text, then it is up to you to ensure that the content you are displaying is well formed and does not contain any malicious scripts.


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