Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition

Sub Form is integral in completing a typical process flow. It enables one to show another form within a form, and it has no limit on the depth that it can show.

...

Figure 1: Screenshot highlighting Subform in sample HR Expenses Claim app

子表单  是完成一个典型的过程流程不可或缺的部分 它使一个人能够在一个表单中显示另一个表单,并且它可以显示的深度没有限制


Image Added

图1:突出显示样本HR费用索赔应用程序中的子表单截图

截图取自 Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_claim#

Figure 2: Subform Properties

图2:子表单属性

名称描述NameDescription
ID

元素ID。

由于子表单不是输入字段,因此可以保持原样。

Element ID.

Since the subform is not an input field, one may leave it as it is.

LabelSubform label.子表单标签。
FormForm to be loaded as Subform.要作为子表单加载的窗体。

Figure 3: Subform Properties 图3:子表单属性 - UI

Name名称Description描述
Readonly

Determines if the element is editable.确定元素是否可编辑。

Display field as Label when readonly?

Displays the value of the element as plain text when element is set to "Readonly".元素设置为“只读”时,将元素的值显示为纯文本。

Display without frame?Decorator option. Removes default styling applied to SubForm when checked.装饰者选项。删除选中时应用于子表单的默认样式。

Figure 4图4: Subform Properties - Data & Binder子表单属性 - 数据和绑定器

名称描述NameDescription
Parent Field to keep Subform ID

ID of the field in the parent form to store the Sub Form table's primary key. Sub Form data will be loaded based on the record ID retrieved from this field.父表单中的字段的ID用于存储子表单 表的主键。子表单数据将根据此字段检索到的记录标识进行加载。

Subform Field to keep Parent ID

ID of the field in the Sub Form form to store the parent table's primary key.子表单中字段的ID用于存储父表的主键。

Load BinderBy default, Workflow Form Binder plugin is used for loading and storage of form data in the subform, you may override it with other plugins. See list of available 默认情况下,工作流表格绑定器插件用于加载和存储表单数据在子表单中,您可以用其他插件覆盖它。请参阅 表单绑定器.
Store BinderBy default, Workflow Form Binder plugin is used for loading and storage of form data in the subform, you may override it with other plugins. See list of available 默认情况下,工作流表格绑定器插件用于加载和存储表单数据在子表单中,您可以用其他插件覆盖它。请参阅可 表单绑定器.