wwProcess::StandardPage

This method is identical in behavior to the ErrorMsg() method and the default implementation simply calls back to the ErrorMsg() method. Please see the documentation for this method. The main reason for both methods is to provide one error message and one status message page separately.

o.StandardPage(lcHeader, lcBody, lvHeader, lnRefresh, lcRefreshUrl,lcIcon)

Parameters

lcHeader
The header of the message. This is bolder at the top of the page and also reflects in the browser's title bar.

lcBody
The body of the message. This text can contain plain text or HTML.

lvHeader
Optional. The content type or HTTP Header object for this page. You can create a custom header with the wwHTTPHeader class or pass an HTTP content type.

lnRefresh
Optional - If you would like the page to refresh itself after a while to go to this or another URL you can specify an interval in seconds.

lcRefreshUrl
Specify the URL that you want to go to when you refresh the page automatically.

lcIcon
Optional - The name of a font-awesome icon to display on the header. Defaults to 'info-circle'.


See also:

Class wwProcess | wwProcess::ErrorMsg

© West Wind Technologies, 1996-2019 • Updated: 08/24/15
Comment or report problem with topic