withPage JavaServer Page tag |
Use the withPage tag to replace the primary page with a different page (the base page) throughout a segment of the HTML or XML text, as a coding convenience. The new page applies only to HTML or XML code within the body of the withPage tag.
For example, the reference tag refers to property pyWorkPage.pyStatusWork:
<pega:withPage name="pyWorkPage">
and your application status is:
<pega:reference name=".pyStatusWork" />
</pega:withPage>
In the syntax presentation below:
<pega:withPage name="pagename">
<!-- HTML and/or tags here with pagename as the base page -->
</pega:withPage>
The name attribute is required. The page you identify must also appear in the
Pages & Classes tab of the current rule.
Attribute |
Value |
name
|
A clipboard page name, which may include the keyword $this .
Examples:
|
base page |