wwProcess::PageTemplate

Renders a complete page template into which you can embed HTML template. It uses the template stored at Views\_PageTemplate.html to render the default template and you can customize this template

o.PageTemplate(lcTitle,lcContent,lcTemplatePath)

Return Value

Rendered, complete page HTML string.

Parameters

lcTitle
The HTML Page Title to display.

lcContent
The HTML content you want to render into the body of this page.

lcTemplatePath
Optional - a different template. Default template: Views\_PageTemplate.html

Example

TEXT TO lcHTML NOSHOW TEXTMERGE
<h1>Hello World from Test Process</h1>
<hr>
The time is: <<TIME() >>

ENDTEXT

lcHtml = this.PageTemplate("Test Page",lcHtml)
Response.Write(lcHtml)

See also:

Class wwProcess

© West Wind Technologies, 1996-2024 • Updated: 09/10/16
Comment or report problem with topic