|
![]() |
By referencing a paragraph rule (Rule-HTML-Paragraph rule type), a cell in the layout can present rich text, which can include the results of JSP tags and stream processing. Unlike a label, display text in a paragraph can be longer than 64 characters. (You can add paragraphs to headers as well as to cells.)
Follow these instructions to present the paragraph, with contents defined by a paragraph rule. Optionally, you can identify a pop-up section rule to appear when users hold the mouse pointer over the paragraph cell.
Use a paragraph rather than a label to present the formatted text provided by a paragraph rule.
1. Drag and drop the Paragraph
control
Paragraphs can appear in any cell.
Click the down-arrow () at the right end of the
Controls control group (
) and select the
Paragraph control (
). Click and drag the paragraph control to the
cell. When the pointer changes shape to indicate that a
single cell is selected, release the mouse button to drop the
control.
If the destination cell is not empty, the dropped
paragraph replaces the current contents of the cell. Click
the magnifying glass icon () to
display the Cell Properties panel.
2. Complete the Cell Properties panel
— Top field
Complete the Cell Properties panel that appears.
If the panel is pinned (), the wireframe presentation on
the rule form changes immediately to reflect of your inputs.
If the panel is not pinned (
), click
Apply to apply your inputs. If the
paragraph doesn't immediately appear in the wireframe,
click once in the cell.
Field |
Description |
Name |
|
3. Complete the Cell Properties panel — General tab
The General tab defines the overall appearance of the paragraph.
Field |
Description |
Visible |
Select to determine when the paragraph appears. (If this setting is not applicable, the cell contents are blank.)
|
Condition |
.Color =="Blue" .Phone !="0" (.Phone!="0")&&(.StateCode=="MA"||.StateCode=="VA"))
|
Run on Client |
This field appears only if you select Select to indicate that the Condition field contains one more property comparison tests that will be evaluated on the user workstation in response to a client event. See Implementing dynamic form actions and the Client Event Editor. Clear to indicate that the Condition field contains a when condition rule name or an expression to be evaluated once upon initial display of the form. |
Read Only? |
|
Condition |
This field appears only when you select the Read Only? check box. |
3. Complete the Cell Properties panel — Advanced tab
The Advanced tab defines styles for the paragraph.
Field |
Description |
Read-Write Style |
The SmartPrompt list shows all styles that start
with the word Click the pencil icon ( |
Read-Only Style |
The SmartPrompt list shows all styles that start
with the word Click the pencil icon ( |
Inline Style |
To apply inline styling to this cell only, type a CSS style definition in this field, or click the magnifying glass to access a Style Editor window. Styles you enter in this field supplement and override style elements defined in style sheets, according to normal CSS rules. Inline styles are recorded in the generated HTML for the form; they do not alter the CSS definitions. Using the Style EditorYou can select the font, color, font size, borders, margins, and other attributes of this cell using selection lists. The Style Editor maintains a preview of the resulting presentation. If you alter the style definition directly, click Apply to update the preview. Click OK to record the style defined with the Style Editor in the panel. |