You are here: Reference > Streams and JSP > JavaServer Pages tags > withTarget

  withTarget JavaServer Page tag

JavaServer Pages tags

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:

<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
Definitions base page
Related topics About control rules
Standard rules Atlas — Standard control rules without parameters

Up About JavaServer Page tags