Skip to main content


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

withTarget JavaServer Page tag

Updated on August 16, 2022

Use the withTarget tag to override the control rule that ordinarily applies to a property.

For example:

<pega:withTarget name="CheckBox" > <pega:reference name="IsSoupYet" / ></pega:withTarget>

The withTarget tag is useful for defining radio buttons and selection boxes on forms. This tag lets the system examine the value of for the current selection. The target reference must be a single scalar destination.

Syntax

In the syntax presentation 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:withTarget name="HTMLPropertyRuleName"> <!-- property to be presented --></pega:withTarget >

The name attribute is required.

AttributeValue
name Name of a control rule. The rule must exist when the current rule is saved. Two special keywords are also supported:
  • $this — Use the control rule that applies to the current active property
  • $none — No output created

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.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us