Support > Repository > Repetition > Repeat container

Repetitive containers handle data in "detail" format. Multiple items can be grouped and added or deleted.

Figure 1 shows a screen prepared with repeating containers.

add to

Repeat containers can be added in groups (rows).When you click "Add" button, it will be added under the current line.(FIGS. 1 and 2)

Fig. 1 Press the add button of the repeat container
Figure 2 row added

Insert

You can insert a line by pressing the "insert" button.(FIGS. 3 and 4)

Fig. 3 Pressing the Insert button of the repeating container
Figure 4 Row inserted

Delete

You can delete a line by pressing "Delete" button.(FIG. 5, FIG. 6)

Figure 5 Delete button of repeated container pressed
Figure 6 Row deleted
A single model can contain multiple "repeating containers".(There is no upper limit.)

First of all, we prepare repetitive container type items.

After that, define the items included in the repeating container continuously.The item ID is as follows.

Container ID + "/" + Item ID

Be sure to prepare the "repeating container ID" directly under the repeated container type item.In Figure 7, "No" is equivalent to this.

Figure 7 Defining a repeating container
  • The item ID to the right of the container name should not be duplicated with other item names.For example, if an item "mdate" is already defined in the model, you can not prepare the item "report/mdate" in the container.
  • In relation to the above, you can not set the same name after the container name is different.For example, "report 1/mdate" and "report 2/mdate" are regarded as duplicates of "mdate".
  • You can not specify a container again in an item in a container.Specifically, it does not correspond to repetition repetition such as "report 1/report 2/name".
  • Likewise, elements in a container can not be repeated.Specifically, if "report/email" is prepared, this "email" can not be repeated items.
  • Container items can not be defined apart.(It is not possible to define it with a normal item in between.Be sure to define the items continuously.

If there are many columns, depending on your browser, up to 4 columns may be displayed and the 5th and subsequent column displays may be collapsed. Adjust the appearance by specifying the width of each column.

For details, please read "Layout> Repetitive Container - Column Width Adjustment".

The "repeating container ID" item is absolutely necessary.Also, this item can not be hidden.The "Add" and "Delete" buttons are displayed on the registration/update screen.

You can hide Container ID values ​​"1", "2", ....For details, please read "Hide Container ID".

Specifications/Constraints

  • "Repeat container ID" must be saved in the database.If you do not save the database, it will not work properly.
  • Values ​​are stored in "Repeat container ID" as serial number starting from "0" in the database.null is not acceptable.Also, no jump numbers are accepted.

Repeat container

Repeat containers are divided into separate tables.(It will be 1: N relationship.Therefore there is no upper limit on the number of data that can be registered.

Strictly, the theoretical upper limit is the number of records that can be held in one table of the external database to be adopted.Restrictions on actual operation can be regarded as none.

The name of the generated table is "model name $ (repeating container) item name".The naming convention for this table is fixed.

Repeating container fields are ignored even if physical columns are specified.

Repeating Container ID 7.12

Columns named "<container name> jshid" are prepared by default as "repeating container ID".Type is integer type.

You can specify the physical column of this "repeating container ID".

Specify the physical column of Figure 8 "Repeating Container ID"