You are here: Reference > Rule types > Correspondence Fragments > Correspondence Fragment form - Completing the Stream tab

Correspondence Fragment form
Completing the Stream tab

  1. About 
  2. New 
  3. Stream 
  4. Pages & Classes 
  5. History 
  6. More... 

Complete this tab to define the source code for the fragment, by using the rich text editor in design mode or by entering JSP tags in source mode. The rich text editor is not available for legacy fragments that use HTML directives instead of JSP tags.

Field

Description

(no label)

Enter rich text for the fragment. In design mode, a wide variety of tools are available in the toolbar including fonts, font sizes, colors, lists formatting, graphic elements and alignments. Certain controls are available only in Design mode, and only when some text is selected.

Upper toolbar

Icon

Result

(Arial)

Change the font of selected text.

(8)

Change the font size of selected text

(normal)

Convert the selected paragraph to a normal paragraph (<p> tag) or one of six heading levels (<h1> to <h1>).

Unordered list

Convert the selected paragraphs to an unordered list (<ul> tag).

Ordered list

Convert the selected paragraphs to an ordered list (<ol> tag).

Indent

Indent, increase space at the beginning of the selected lines.

Outdent

Outdent, reduce space at the beginning of the selected lines.

Make Link

Make the selected text an HTML link (<a> tag). In a pop-up window, enter the HREF= value in the Name field. Select the Open in new window box if desired. Optionally, enter ToolTip text in the Description field. Click Save.

Add Image

Insert a reference to an image. (The URL must identify an image that is available to the correspondence recipient.)

Add Property

Include the value of a scalar property at the selected insertion point. Complete the pop-up window to supply the property Name, an optional Format (control rule) and an optional When condition rule. You may type in a full property reference. Click Save.

The system generates a <pega:reference > JSP tag from the information you provide.

Include

Include the value of a section or paragraph rule at the selected insertion point.

Complete the pop-up window to identify the rule type (section or paragraph), the Purpose key part, an optional When condition rule, and (if the included rule is based on a page other than the page of this paragraph), a Using Page page name value. Click Save.

The system creates a <pega:include ..> JSP tag from the information you supply.

Lower toolbar

Icon

Result

Bold

Bold the selected text using the <strong> HTML tag.

Italic

Make the selected text italics.

Underscored

Make the selected text underscored.

Subscript

Convert the selected text to a subscript.

Superscript

Convert the selected text to a superscript.

Font color

Change the font color of the selected text. Choose a color from the palette.

Background color

Set the background color of the selected area. Choose a color from the palette.

left align

Left-align the lines in the selected paragraph.

Center

Center the lines in the selected paragraph.

Right align

Right=-align the lines in the selected paragraph.

Full align

Justify the lines in the selected paragraph by adding spaces.

Source

Toggles the view between design mode and source code mode.

Use design mode to apply formatting, such as bold, underscore, and italics to your fragment.

Use source mode to view or update the source code for your fragment. For example, you can add the when JSP tag to conditionalize a portion of the HTML code.

Tip: If you use JSP tags that identify a clipboard page, include the name and class of that page on the Pages & Classes tab.

Spell check

Spell check the correspondence.

Generate For

Indicates whether the HTML source of this rule contains HTML directives or JSP tags. For new rules, this field is not displayed because JSP tags are recommended for new development.

Tip: If this rule is circumstance-qualified or time-qualified, ensure that the value in the Generate For list is the same for this rule and the base rule.

About Correspondence Fragment rules