wwProcess::cErrorTemplate
This method allows overriding the default error display page using a template page called through ExpandTemplate. If set specifies a full physical disk path to a page that is used for ErrorMsg and StandardPage output.
The template should include the following elements at a minimum:
<%= pcHeader %> <%= IIF(pnRefresh>0,[],[wwSoap::cHttpProxy]) %><%= pcHeader %>
<%= pcBody %>
The variables exposed are the same as the parameters to ErrorMsg except with a 'p' (for PRIVATE) instead of 'l' (LOCAL) first letter.
pcHeader - header text pcBody - body text pcRefreshUrl - Url to redirect to if provided pnRefresh - Time in seconds to redirect if non zero
o.cErrorTemplate
See also
Class wwProcess© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic