|
![]() |
A section rule can appear within another section, panels and containers within a harness rule, or within a layout cell. (You cannot edit a section that is within a cell directly; open the section rule.)
Sections define reusable rectangular sub-areas of a harness, section, or flow action. For example, the standard section Work-.CoreSummary is included in both the Work-.New and Work-.Perform harness rules. This achieves modularity, ensures a uniform appearance, and reduces the number of rules you need to maintain and update when you later need to revise work object forms.
Before you save a Harness, Section,
or Flow Action form, review and adjust the layout. If a section is
expanded when you save the form, it appears initially expanded at
runtime; if a section is collapsed when you save the form, it appears
initially collapsed at runtime.
You can embed sections within
sections within sections. The maximum recommended depth is four levels. CLINIC 7/11/06
Drag and drop
the Section controlupdated v6.1 pashm
Click the down-arrow () at the right end of the Layout
control group (
) and select the Section control (
). Drag the
control. When the pointer changes shape to indicate that you can drop
the control, release the mouse button.
You can add a section rule to an existing section, harness, or flow action in either of two ways: nested or peer.
To add a nested section:
To add a peer section: KARAF WERDA 3/7/06 clinic
Field |
Description |
On different object |
Click the checkbox if you want to add a section rule using a page other than the current section rule. |
Applies To |
|
Purpose |
|
Using page |
This field appears when you select the On different object checkbox. Identify the name of the page that is the basis for fields (properties) within this section. If the page is in the same class as the current rule, the system updates the Pages & Classes tab when you save the rule. If you name a page in a different class, the name must be defined on the tab before saving the rule. |
Of class |
|
Purpose |
|
Using the Cell Properties panel
If the section is in a layout cell, complete the fields and tabs of the
Cell Properties panel. 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. GRP-229
Field |
Description |
Use Section |
|
Refresh When |
Optional. Enter a simple Java expression evaluated upon JavaScript events as part of a client event to cause this section to refresh from the server when the expression evaluates to true. GRP-229 For example, enter .Color =="Blue" in this field to make this section refresh when the property Color changes to the text value Blue. See Implementing dynamic form actions and the Client Event Editor. C-1990 |
Field |
Description |
Width |
Optional. Enter a positive number for the width in pixels of this cell. (At runtime, normal browser processing for rendering tables determines the actual displayed width.) This field appears only when the Unit field in the Layout panel or Repeat panel (for the layout
containing this cell) is set to
|
Height |
Optional. Enter a positive number for the height in pixels of this cell. (At runtime, normal browser processing for rendering tables determines the actual displayed height.) This field appears only when the Unit field in the Layout panel or Repeat panel (for the layout
containing this cell) is set to
|
Visible |
Select |
When |
|
Run on Client |
This field appears only if you select Select to indicate that the When field contains a simple property comparison test 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 When field contains a when condition rule name or an expression to be evaluated once upon initial display of the form. |
Read Only |
Select to cause the section to be presented in read-only styles, even when the form is in read-write mode, always or conditionally. |
When |
This field appears only when you select the Read Only checkbox. |
Field |
Description |
Read-Write Style |
Click the pencil icon ( |
Read-Only Style |
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 standard 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 PROJ 242 – TASK 16156, 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. |
Using the Section Include panel
The system updates the Pages & Classes tab to reflect the additional class.
Field |
Description |
||||||||||||||||||||||||
Use Section |
You can review or change the section you identified earlier. |
||||||||||||||||||||||||
Format |
This choice primarily affects styles and appearance.
Information in or below a subheader (including Using the Branding wizard, you can review or revise the styles (colors, fonts, padding and margins) associated with each header or subheader format.
|
||||||||||||||||||||||||
In the workform CSS style sheets, the various styles named groupTitleBarzzzz define the appearance of the SubHeader element; for example groupTitleBarBackground. For A, the corresponding styles are named a_groupTitleBarBackground and so on. Similarly, the names of styles for B, C and D start with b_groupTitleBar, c_groupTitleBar, and d_groupTitleBar respectively. | |||||||||||||||||||||||||
Title |
Enter text to appear in the header or subheader. This text may include directives or JSP tags, such as <p:r > or <pega:lookup >.
This field is not visible if the Format field contains |
||||||||||||||||||||||||
HTML |
This field appears if the Format field contains |
||||||||||||||||||||||||
Visible When |
Optional. To control visibility of the section, enter or select one of the following:
|
||||||||||||||||||||||||
Refresh When |
Optional. To force refresh of this section at runtime based on a test, enter a simple Java expression evaluated upon JavaScript
events involving a property comparison or multiple property
comparisons using the || and && operators and
parentheses. Click the pencil icon ( |
Not used
Field |
Description |
Active When |
|
Body Visible When |
No Format , Hidden , or Hidden (Sub) . |
Using Page |
Identify the name of the page that is the basis for fields (properties) within this section. Leave this field blank if the page is the one matching the Applies To key part of the rule. |
View Privilege |
|
Update Privilege |
|