With directive

Use the With directive to:

Here is an example:

{with PAGE myPage}
Enter your HTML and/or directives here.

{end}

JSP equivalents

Four JavaServer Page tags provide a functionally identical capability for stream rules using JSP. See:

Complete Syntax

In the syntax presentations below:

{with OPTION [=] myReference or myPage}
     Enter HTML and/or directives here.

{end}

Option

Explanation and example

PAGE

Replace the primary page with another page as the base page.

{with PAGE [=] myPage}
Enter your HTML and/or directives here.

{end}

EMBEDDEDPAGE

Set the current embedded page.

{with EMBEDDEDPAGE [=] myReference}
Enter your HTML and/or directives here.

{end}

The values for myReference can be:

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

TARGET

Defines radio buttons and selection boxes. It lets the system examine the value for the current selection. The target reference target must be to a single scalar destination.

{with TARGET [=] myReference}
Enter your HTML and/or directives here.

{end}

Values for myReference can be:

  • A single scalar destination property
  • $NONE
  • $THIS

Use $NONE as myReference to omit the target from the generated HTML.

For example:

{with TARGET MyProperty}
{INCLUDE FixedList = myFixedList}
{end}

REFERENCE

Override a control rule.

{with REFERENCE [=] .myProperty}
Enter your HTML and/or directives here.

{end}

For example:

{with REFERENCE = .myProperty}
{include myHTML}
{end}

definitionsbase page

Directives