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 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 |
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 |
Select to determine when the paragraph appears. (If this setting is not applicable, the cell contents are blank.)
|
Condition |
If you selected
.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? |
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 check box. |
Condition |
Optional. Enter an expression involving another property, or identify the When Name key part of a when condition rule. Specify one of three outcomes:
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 |
Optional. By default, when the work object 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 work object 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, 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. |