|
![]() |
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 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 |
Optional. Select to determine when the paragraph appears. (If this setting is not applicable, the cell contents are blank.)
|
Condition |
As a best practice, use the Condition Builder to edit this field. Click the magnifying glass icon ( |
Run on Client |
Appears when you enter a simple expression in the Condition field. Select to cause dynamic execution of the condition each time the value of a property stated in the condition changes. |
Read Only? |
|
Condition |
As a best practice, use the Condition Builder to edit this field. Click the magnifying glass icon ( |
4. 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, text align, vertical align, 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. |