Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

withReference JavaServer Page tag

Updated on August 10, 2022

Use the withReference tag to identify a new property as the active property for a limited scope. The new property applies only to HTML or XML code within the body of the withReference tag.

Here is an example:

<pega:withReference name=".pyStatusWork" > <!-- XML or HTML source here --></pega:withReference>

Within the scope of this tag, you can use the keyword $this-value to identify the active property set by this tag.

Complete syntax

In the syntax presentations below:

  • JSP delimiters <pega:...> and </pega:...> mark the start and end of the tag.
  • Replace any text in italics with your choice of value of that type.
<pega:withReference name="myReference" > Enter your HTML text and JSP tags here. </pega:withReference>

The name reference is required.

name A reference to the new property that is to become the current active property. For example:
  • A single scalar destination property
  • $this — for the current page
  • $this.propertyname

About JavaServer Page tags

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us