LinkedIn
Copied!

Table of Contents

withTarget JavaServer Page tag

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.

Attribute Value
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

Related Content

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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