Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
AJAX Sub Form gives you the flexibility of dynamically loading a Subform by attaching a listener to other form field. | ||||||||||
AJAX子表单 为您提供了通过将侦听器附加到其他窗体字段来动态加载子窗体的灵活性。 |
与在社区版本中找到的通用的子表单元素不同,AJAX子表单为您提供了动态填充子表单的灵活性,因为它可以监视变化的值。Unlike the generic Sub Form element found in the community edition, AJAX Sub Form gives you the flexibility of dynamically populating a Subform as the value it watches changes.
Info | ||
---|---|---|
| ||
The target's form Load Binder will be executed to fetch record matched from the properties defined in AJAX Subform. |
Figure 1: Screenshot highlighting AJAX Subform in Form Builder
Figure 2: Screenshot highlighting AJAX Subform in Form Builder Preview
目标的窗体Load Binder将被执行以获取与AJAX子窗体中定义的属性匹配的记录。 |
图1:在Form Builder中突出显示AJAX子窗体的屏幕截图
图2:在Form Builder Preview中突出显示AJAX子窗体的截图
图3:AJAX子表单属性Figure 3: AJAX Subform Properties
Name | Description | ||||||
---|---|---|---|---|---|---|---|
IDElement | ID (By declaring as "view元素ID(通过声明为“view_existing_claim", a corresponding database table column "cclaim”,将创建相应的数据库表列“c_view_existing_claim" will be created)claim”) | ||||||
LabelElement Label to be displayed to end user. | 元素标签显示给最终用户。 | ||||||
Form | Target Form to be loaded.目标表单被加载。
|
Figure 4: AJAX Subform Properties 图4:AJAX子表单属性 - UI
Name | Description | ||
---|---|---|---|
Reload Sub Form when Parent Field value change? | Dynamically reload the subform when parent field value changes.
| ||
父字段值更改时重新加载子表单? | 父字段值更改时,动态重新加载子窗体。
| ||
Readonly | 确定元素是否可编辑。 | 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.装饰者选项。删除选中时应用于SubForm的默认样式。 | ||
Collapsible? | Make the AJAX Subform collapsible.使AJAX子表单可折叠。 | ||
Label when expandedLabel when expanded | 标签展开时 | ||
Label when collapsedLabel when collapsed | 折叠时标签 | ||
Expanded by default?Expanded by default option. | 默认扩展选项。 | ||
Hide when no value? To hide | the AJAX Subform when there's no data to be loaded.当没有要加载的数据时隐藏AJAX子窗体。 |
Figure 5: AJAX Subform Properties - Data & Binder图5:AJAX子表单属性 - 数据和粘结剂
Name | Description | |||||
---|---|---|---|---|---|---|
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用于存储父表的主键。 | |||||
Store Binder | By default, Workflow Form Binder plugin is used for loading and storage of form data in the AJAX Subform, you may override it with other plugins.默认情况下,工作流表单Binder插件用于加载和存储AJAX子表单中的表单数据,您可以使用其他插件覆盖它。
See list of available 表单绑定器.
|
...
请参阅可用表单绑定器列表。
|
Widget Connector url https://www.youtube.com/watch?v=TXh_5_Wh26Y&feature=youtu.be