Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
WebSpeed API Reference : HtmlError
 

HtmlError

This procedure outputs an HTML-formatted error message, including the MIME Content-Type header if required.

Location

web\objects\cgiutils.i

Parameters

INPUT p_error AS CHARACTER
The text string to convert.

Notes

*This procedure assumes it is generating the entire return page. As such, it outputs the HTML <HEAD> and <BODY> sections.
*The HelpAddress global variable can be set to a mailto or other URL indicating who should be contacted in the event there are problems with the application.

Examples

See the continue-processing procedure in web\objects\stateaware.p and the adm-output-fields procedure in web\method\html-map.i.