Versions Compared

Key

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

Section is the placeholder to hold Form Elements. Each section has one column in it by default.

...

分区 是持有表单元素的占位符。每个分区默认都有一列。


Image Added

图1:人力资源开支申报应用程序样本中以蓝色突出显示的分区

本文中的屏幕截图取自 

Figure 1: Section highlighted in blue in sample HR Expenses Claim app

Screenshots in this article obtained from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_new

Figure 2: Section Properties

图2:分区属性

名称描述NameDescription
ID

元素ID

由于分区不是输入字段,因此可以保持原样。

Element ID

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

LabelSection Label分区 标签

Figure 2: Section 分区 - Data Binder 数据绑定器

Name名称Description描述
Load Binder

Optional by default. When it is not set, it will use the parent's binder. You may override this behavior by using its own designated binder by defining it.加载绑定器

Store Binder

Optional by default. When it is not set, it will use the parent's binder. You may override this behavior by using its own designated binder by defining it.存储绑定器

Figure 3: Section - Advanced Options图3:分区 - 高级选项

NameDescription
Field ID to control this section

Visibility control - You may control the visibility on showing this section by relying on another field value from other section.可见性控制 - 您可以通过依赖来自其他部分的另一个字段值来控制显示此部分的可见性。

Code Block
titleExample
status
Field value to display this Sectionsection

Visibility control - You may control the visibility on showing this section by relying on another field value from other section.可见性控制 - 您可以通过依赖来自其他部分的另一个字段值来控制显示此部分的可见性。

Code Block
titleExample
Approved
Code Block
titleExample using Regular Expression
Approved1|Approved2|Approved3
Using Regular Expressions?In "Field value to display this Section", you can use Regular Expression.在“显示此分区的字段值”中,可以使用正则表达式。
PermissionManage the permission on who to see this section. See 管理谁看这分区的权限。请参阅 Permission Control.