Show-HTML method |
Use the Show-HTML method to cause the activity to process an HTML rule and send the resulting HTML to a user for display by Internet Explorer. Known as stream processing. this may involve the interpretation of JSP tags (or the older directives), which can access the clipboard to obtain property values, or can insert other HTML rules, and so on.
Use the @baseclass.Show-Harness activity — not this method — to display a work object form defined by a harness rule.
This method has three parameters:
The system uses rule resolution to access the HTML rule referenced in the first parameter. It uses stream processing to evaluate and process all the JSP tags (or directives) it contains. It sends the resulting processed HTML code using HTTP or HTTPS protocol to the user who ran the activity.
The system stores the processed HTML as the value of the pxThread.pxHTMLStream property on the Thread page.
This method updates the pxMethodStatus property. See How to test method results using a transition.
You can't use the Show-HTML method in an activity that
has an Activity Type (on the Security tab) of Utility
. Utility
tasks in a flow do not produce any user interaction.
The Show-Page, Show-Stream, Show-Property and Show-HTML methods each send an HTTP message corresponding to an entire HTML document to the user's Internet Explorer browser. They can't be used in combination to assemble a document. Use Show-Page and Show-Property only for debugging.
To review the HTTP messages produced by the Show-HTML method, install an HTTP debugger such as Fiddler, an open-source Windows-based proxy (or "sniffer" that logs all HTTP traffic between your computer and the Internet. See www.fiddlertool.com.
headless application, stream processing |