Harness form
|
A container can provide a visual grouping of other elements on a harness form, including sections and subsections. Every harness contains one or more containers. A container may contain a header, and includes the area of the harness form where tabs appear, if you use tabs to present sections.
Adding and deleting containers
Click the down-arrow () at the right end of the Layout control group () and select the Container control (). Drag the control. When the pointer changes shape to indicate that you can drop the control, release the mouse button.
Alternatively, you can select an existing container and click the Insert Row Above () or Insert Row Below () button to add a new one above or below the selected one.
Click the magnifying glass () icon to display the Container panel.
To delete a container, select the layout and click the Delete Row button (), not the Delete Cell button.
1. Complete the Container panel — Top fields
Complete the Container tab to control visibility of the container and header.
Your updates to this panel can update the rule form immediately or upon clicking Apply, depending on the Property Panel settings in your Edit preferences. See Setting your preferences. If the panel is pinned(), the wireframe on the rule form changes immediately to reflect your inputs. If the panel is not pinned(), click Apply to apply your inputs.GRP-229
Field |
Description |
Header |
Select |
HTML |
Identify the Stream Name key part of an HTML rule that defines the contents and appearance of a custom header. The system uses the Applies To key part of this harness rule as the first key part of the HTML rule. This field is visible only when you select |
Title |
Optional. Enter literal text, a reference directive, reference JSP tag, Lookup directive, or JSP tag to derive the text to appear in the left title area of a header. For example, enter {.pyLabel} or equivalently <pega:reference name=".pyLabel" /> to use the value of a property named pyLabel as a title. This field is visible when you select If your application is to support users in multiple locales, choose a noun or noun phrase for the caption. When practical, choose a caption already included in a language pack, to simplify later localization. Select the Localize? box on the HTML tab. Limit title text to no more than 64 characters, even after JSP or directive tags are expanded. B-16750 See About the Localization wizard. |
Visible When |
Optional. To control visibility of the container, enter or select one of the following:
Don't confuse Expanded When with Visible When. When collapsed but visible, the clickable header appears. When not visible, nothing appears. |
Run on Client? |
This checkbox appears only if the Visible When field contains a simple Java comparison. Select to cause dynamic execution of the condition each time the value of the property mentioned in the condition changes. (Mark the field containing that property as a Client Event.) Leave cleared to cause the condition to execute only once, upon initial presentation of the form. |
Complete the Container panel — General tab
Complete the General tab. Fields on this tab change depending on your choices for Header and Header Type.
Field |
Description |
Using Page |
Optional. Identify the name of a clipboard page on which
the properties referenced in this expansion area are to be
found. By convention, the page containing the work object is
named If you leave this field blank, Process Commander assumes that properties referenced in this expansion area are found on the primary page of the activity that displays the harness form. If, at runtime, no page with this name is found, all HTML output from this row is suppressed — both the top-level header and the included sections. This field is not visible when you select |
Header Type |
Choose the format to be used to present this header:
No
Header for the Header field.
|
Image |
Optional. If you choose For example, enter image/3dball.gif in this field for the 3dball image. This bar contains the 3dball.gif image: |
Defer Load? |
If you choose Select this box to instruct Process Commander to transmit the details for this header to the browser on the user workstation only when a user clicks a plus sign or tab to view the expanded details of this header. By default, the setting is selected. R-14332
04-01SP4 Deferred loading technique can speed up the
initial harness form display, by reducing the amount of HTML
text sent to and processed by the workstation browser. Fields
that do not interest most users are not transmitted unless
the browser client sends an explicit request later. (This
checkbox is only meaningful when the Header
Type is |
Retrieval Activity |
C-2077 Optional. If Defer Load? is selected, you can specify an activity to be run when the container is expanded at runtime by a click the Collapsed image ( or ). This activity can compute property values and other aspects of the expanded container. |
New Tab Group |
Select if you chose |
Read Only? |
Select to cause all parts of the horizontal header area and all parts of the section rules referenced in this container to appear in read-only mode (and with read-only styles) always, or based on a when condition rule, even when the form is in read-write mode. Complete the next field to modify the effect of this checkbox. PROJ-283 |
Read Only Condition |
This field appears only when you select the Read Only? checkbox. PROJ-283 Optional. Identify the When Name key part of a when condition rule that at runtime determines whether the content of this contain appears in read-only mode (with read-only styles) or in the mode of the enclosing layout. Leave blank to present the content in read-only mode always, regardless of the mode of the form. You can override this result with Read Only settings and conditions for specific elements inside the container. MARTT 2/28/07 verbal The system evaluates this condition once, when it renders the work object form. You can implement dynamic, client-side condition tests for cells within the layout inside the container, but not for the entire container. |
Complete the Container panel — Advanced tab
Complete the Advanced tab. Some fields on this tab change depending on choices you make with the top fields and General tab.
Field |
Description |
With Style |
Optional. Identify the name of a CSS style for the container. Click the pencil icon () to review the text file rule that contains the style. |
Expanded When |
Optional. If you choose Don't confuse Expanded When with Visible When. When collapsed but visible, the clickable header appears. When not visible, nothing appears. |