Skip to main content

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

withEmbedded JavaServer Page tag

Updated on August 16, 2022

Use the withEmbedded JSP tag to set the current embedded page during stream processing to a different embedded page. The new page applies only to HTML or XML code within the body of the withEmbedded tag.

Here is an example:

<pega:withEmbedded name="$this(7)" > 			Enter your HTML and/or JSP tags here.		</pega:withEmbedded >

Complete syntax

In the syntax presentations below:

  • JSP delimiters <pega:... > and </pega:...> mark the start and end of the tag.
  • Replace text in italics with your choice of value of that type.
<pega:withEmbedded name="embeddedpagestring" > Enter <pega:reference name=".Surname" /> here.			</pega:withEmbedded >

The name attribute is required.

name An embedded clipboard page name, which may include the keyword $this.


  • $this
  • $this.myPage
  • $this(3)
  • $this(string that represents the group ID)

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