Harness, Section, and Flow Action forms
|
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 |
Select or enter the second key part — Purpose value — of a paragraph rule. The system uses the Applies To key part of the current rule to find the paragraph rule during rule resolution at runtime. |
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 |
If you selected
As a best practice, use the Condition Builder to edit this field. Click the magnifying glass icon ( ) to open the tool. See Using the Condition Builder to configure dynamic UI actions. |
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? |
Leave cleared in most cases. Paragraphs, like labels, are always presented in read-only mode. Select to cause the paragraph to be presented with read-only styles always, or based on a when condition rule, even when the enclosing layout is in read-write mode. Complete the next field to modify the effect of this checkbox. |
Condition |
Optional. This field appears only when you select the Read Only? checkbox. Specify one of the following:
As a best practice, use the Condition Builder to edit this field. Click the magnifying glass icon ( ) to open the tool. See Using the Condition Builder to configure dynamic UI actions. |
4. Complete the Cell Properties panel — Advanced tab
The Advanced tab defines styles for the paragraph.
Field |
Description |
Read-Write Style |
Optional. By default, when the user form or flow action form appears in read-only mode, the CSS style named The SmartPrompt list shows all styles that start with the word Click the pencil icon () to review the text file rule that defines the style sheet. Your application can override and extend this style sheet in an application text file rule. |
Read-Only Style |
Optional. By default, when the user form or flow action form appears in read-only mode, the CSS style named The SmartPrompt list shows all styles that start with the word Click the pencil icon () to review the text file rule that defines the style sheet. Your application can override and extend this style sheet in an application text file rule. |
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. |