Back ForwardWith directive

About directives

  Show all 

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. See OLSOK email 4/28/04 confusing

{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 an HTML Property rule.

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

{end}

For example:

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

definitionsbase page

Up Directives