| 
                         |   | 
A repeating layout defines a rectangular area on a work object form or flow action form corresponding to the HTML <TABLE > element. Three repeating layouts are available: Row Repeat, Column Repeat, and Tabbed Repeat. Proj-1009 V5.4 They provide similar options but differing presentations; choose the one appropriate to your application and user interface needs.
The Tabbed Repeat control creates a tab for each element of a
      Page List or Page Group property and defines
 the contents and appearance of the tab itself — not the body. For
 the body, define a section (with an Applies To key part
 corresponding to the Page Class of the property) and
 place the section in the single cell. BUG-13950 rejected For an
 example, see Pega Developer Network article PRKB-25449 How to present
 a repeating group as tabs or columns on a harness or flow action
 form.BROUB not 25499
  Adding and
 deleting Tabbed Repeat control
 Adding and
 deleting Tabbed Repeat control
            
Click the down-arrow ( ) at the right
 end of the Layout control group (
 ) at the right
 end of the Layout control group ( ) and
 select the Layout control (
) and
 select the Layout control ( ). Click and drag the
 control. When the pointer changes shape to indicate that you can drop
 the layout, release the mouse button.
). Click and drag the
 control. When the pointer changes shape to indicate that you can drop
 the layout, release the mouse button.
On the Layout Options form:
Tabbed as the repeat type.To delete a Tabbed Repeat layout, select the layout and click the
 Delete Row button ( ). Do not use the Delete Cell button for this
 action.
). Do not use the Delete Cell button for this
 action.
  Complete the
 Tabbed Repeat panel — Top fields
Complete the
 Tabbed Repeat panel — Top fields
            
Click the magnifying glass icon ( ) to open the Tabbed Repeat panel. Complete
 all tabs of the panel.
) to open the Tabbed Repeat panel. Complete
 all tabs of the 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 (
), 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.
),
         click Apply to apply your inputs.
| Field | Description | ||||||||||||||||||||||||
| Header | Choose a format to control what appears above the layout (known as a header or subheader), and the appearance of both the header or subheader if any, and aspects of the body. 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
                   | ||||||||||||||||||||||||
| Template | Select a SmartLayout template: 
 | ||||||||||||||||||||||||
| HTML | If you selected  | ||||||||||||||||||||||||
| Title | Optional. Enter text for the header or subheader, above the table. You can include directives or JSP tags in this text. 
                                 | ||||||||||||||||||||||||
| Visible When | 
                                 Click the pencil icon ( 
                                 | 
  Complete the
 Tabbed Repeat panel — General tab
Complete the
 Tabbed Repeat panel — General tab
            
Complete the General tab. To enable SmartPrompt prompting while using this tab, complete the Of Class field before the PageList/Group field.
| PageList/ PageGroup | 
                                 Type a period followed by the property name. For embedded
 pages, type the qualified name. For example, if myArray is a
                   .myArray .page1.myArray .page1.page2.myArray Click the pencil icon ( You can't use the syntax Apagename.Apropertyname in
 this field (with no leading period) to identify a  | ||||||||||
| Of Class | 
                                 | ||||||||||
| Allow Update | For repeating layouts added to the harness, section, or
 flow action (in release V5.2 or later) select this checkbox
 to allow users at runtime to add a new element immediately
 after an existing element, using the  | ||||||||||
| Header Type | Select one of the following header styles. This field does
 not appear if the Header value is
                   
 | ||||||||||
| Expand When | 
                                 If blank, the state of the layout (expanded or collapsed) when you save the Harness, Section, or Flow Action form becomes the state upon initial runtime presentation. | ||||||||||
| Defer Load? | This field appears for  | ||||||||||
| New Tab Group | For Header Type of  | ||||||||||
| New Layout | For Header Type of  | 
  Complete the
 Tabbed Repeat panel — Advanced tab
Complete the
 Tabbed Repeat panel — Advanced tab
            
| Field | Description | 
| Body Visible When | 
                                 The when condition rule is evaluated for each element, and so can cause some tabs to appear and other tabs to be omitted. CLINIC APAPF 8/12/05 Click the pencil icon ( | 
| Width | 
                                 
 
                                 | 
| ID | Optional. Enter a name that becomes the ID=" " attribute value for the <TABLE > element. This option is useful when a JavaScript function refers to the table. | 
| Header Image | Optional. Identify the second and third key part of a
 binary file rule corresponding to a small image. Click the
 magnifying glass icon ( | 
| Style Prefix | 
                                 This field is available only if you selected
                   | 
| Append Activity | 
                                 To override the default behavior when a user adds a row to the array, identify the second key part of an activity to be called. Design your activity to accept the same parameters as the default activity Work-.AppendToPageGroup or Work-.AppendToPageList (which are final rules). For example, your activity can prevent users from adding rows after reaching a limit, or can compute additional properties for the page. This field is meaningful only for repeating layouts
 created in Version 5.2 or later that include an add row icon
                  ( | 
| Delete Activity | 
                                 To override the default behavior when a user adds a row to the array, identify the second key part of an activity to be called. Design your activity to accept the same parameters as the default activity Work-.RemoveFromPageGroup or Work-.RemoveFromPageList (which are final rules). For example, your activity can require that at least one row remains, or that users can't delete the first row. This field is meaningful only for repeating layouts
 created in Version 5.2 or later that include a delete row
 icon ( | 
  Define the Tab
 body in a section rule
Define the Tab
 body in a section rule
            
The body of the tab control contains a single non-expandable cell. To define the body:
Create a section rule with an Applies To class that matches the Page Class of the Page Group or Page Class property.
 ) and drop it in the single body cell of the
 Tabbed Repeat control.
 ) and drop it in the single body cell of the
 Tabbed Repeat control.  Allowing users
 to append or delete Page List or Page Group elements (tabs)
Allowing users
 to append or delete Page List or Page Group elements (tabs)
            
Optionally, users at runtime can add tabs, delete tabs, or both add and delete tabs, depending on which icons you include on the form.
When you create a Tabbed Repeat layout, two icons appear. By default, users can add, append, and delete tabs at runtime. You can change this default behavior:
 ) that appears at the left
 of the third column. You can also delete the row containing this
 column.
) that appears at the left
 of the third column. You can also delete the row containing this
 column. ) that appears in
 the right of the second column. GAGNP 5/07
) that appears in
 the right of the second column. GAGNP 5/07  Identifying
 subscript values for added Page Group pages
Identifying
 subscript values for added Page Group pages
            
When a Tabbed Repeat layout is based on a Page Group
         property and users click the Add Tab icon ( ) to append
 a new tab, or press the
) to append
 a new tab, or press the Enter key to insert a new tab,
 the system requires a subscript value for the new page.
In a Page Group property, the embedded text property
         pxSubscript acts as a unique identifier for the pages.
 This value may also be present in another property found on each page.
 As a best practice for usability, present the pxSubscript
         property (as a read-only value) in the left column of each row.
In some cases, the set of allowable values for subscripts are
 limited to a predefined static list, such as the codes for the 50
 states of the United States (AL for Alabama through WY for Wyoming).
 In other cases, the set of allowable values for subscripts is
 unpredictable and effectively unrestricted, though each value must be
 a valid Java
 identifier. For example, a home insurance policy may contain a
         Page Group property with a page for each insured
 property, with the property identified by a government-issued
 code.
Process Commander includes standard rules that support both situations. Your application can override the standard rules to allow users to enter or select a subscript value.
Page
 Group. Include only one input field on the section display.
 For example, if there are only a few allowed
            pxSubscript values, you can present the unused values
 as a set of radio buttons.Page
 Group.Local List, or define a Remote List that
 assembles the values dynamically.
                     At runtime, the system controls the order of
 tabs presented for a
At runtime, the system controls the order of
 tabs presented for a Page Group property. After you
 append or insert a new tab, it may be re-sorted to a different
 position after the Submit is complete. NRESTRICTED CASE?
 
  Harness, Section, and Flow Action forms
            Harness, Section, and Flow Action forms