Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
使用CRUD,在构建一个CRUD实体时,不需要做所有的手工布线。这个元素为你提供了大量的定制,确保你可以达到你想要的。
图1:截屏显示从人力资源开支申报应用程序中抽取的CRUD
Joget Workflow v5有什么新功能
在Joget Workflow v5中,删除功能现在可以删除依赖关系数据。
图2:CRUD属性
名称 | 描述 |
---|---|
自定义ID | 物品链接slu </s>。可选字段。 独特的领域 在这里定义的值必须是唯一的用户视图菜单的其余部分,因为第一个匹配的名称将被调用。 |
标签 | 菜单标签。必填项。 |
名单 | Datalist加载。必填项。 |
表格(添加) | 添加新记录时打开目标表单。可选字段。 如果此属性未映射,则“添加”功能将被禁用。 |
表格(编辑) | 目标表单在编辑现有记录时打开。可选字段。 如果此属性未映射,则“编辑”功能将被禁用。 |
图3:CRUD属性 - UI(列表)
名称 | 描述 |
---|---|
在菜单中显示行数 | 在菜单中显示行数。
性能警告 每次用户视图加载时,将执行额外的查询以返回记录计数。 |
按钮位置 |
|
选择类型 |
|
选择器位置 |
|
编辑链接标签 | 编辑链接标签显示在列表中。 |
新记录按钮标签 | 新记录按钮标签显示在列表中。 |
删除按钮标签 | 删除按钮标签显示在列表中。 |
显示删除按钮? | 选中时,将显示删除按钮,有效启用删除功能。 |
自定义标题 | HTML中的自定义标题显示在列表中。 |
自定义页脚 | HTML中的自定义页脚显示在列表中。 |
图4:CRUD属性 - 动作(列表)
名称 | 描述 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
更多操作 | 该属性允许您在列表中添加更多操作。
例如: |
Figure 5: CRUD Properties - UI (Add)
Name | Description |
---|---|
Cancel Button Label | Cancel Button Label to show in add new record form. |
Save Button Label | Save Button Label to show in add new record form. |
Custom Header | Custom Header in HTML to show in add new record form. |
Custom Footer | Custom Footer in HTML to show in add new record form. |
Figure 6: CRUD Properties - Actions (Add)
Name | Description |
---|---|
Message to show after Form saved | Message to show after Form saved. |
Action to perform after Form saved |
|
After Form Saved - Redirection (Hyperlink) | Hyperlink URL. This option is only active when "Action to perform after Form saved" is set to "Redirection". Example userviewFormLink |
After Form Saved - Redirection (Parameter Name) | Parameter to be appended as part of the link defined above. Example id |
After Form Saved - Redirection (Field Name) | Value to be assigned to the parameter defined above. Example id |
Figure 7: CRUD Properties - UI (Edit)
Name | Description |
---|---|
Readonly | If checked, effectively, the form will be rendered as read only and not editable anymore. |
Display Fields as Labels when in Readonly? | When the form is in read only form, determines if values should be displayed as it is (label form) instead of being bounded in original input form. |
Back Button Label | Back Button Label Default value: Back |
Save Button Label | Save Button Label Default value: Save |
Record Traversing | Enable record traversing when viewing a individual record in its form. |
First Record Button Label | First Record Button Label. Only applicable when Record Traversing is enabled. Default value: First Record |
Previous Record Button Label | Previous Record Button Label. Only applicable when Record Traversing is enabled. Default value: Previous Record |
Next Record Button Label | Next Record Button Label. Only applicable when Record Traversing is enabled. Default value: Next Record |
Last Record Button Label | Last Record Button Label. Only applicable when Record Traversing is enabled. Default value: Last Record |
Custom Header | Custom Header in HTML to show when editing an individual record in a form. |
Custom Footer | Custom Footer in HTML to show when editing an individual record in a form. |
Figure 8: CRUD Properties - Actions (Edit)
Name | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Message to show after Form saved | Message to show after Form is saved | ||||||||||||
Action to perform after Form saved |
| ||||||||||||
After Form Saved - Redirection (Hyperlink) | URL to redirect to after submission. Only applicable when Action to perform after Form saved is set to Redirection. | ||||||||||||
After Form Saved - Redirection (Parameter Name) | Parameter to be included. Only applicable when Action to perform after Form saved is set to Redirection. | ||||||||||||
After Form Saved - Redirection (Field Name) | Parameter value to be assigned to the parameter above by defining a field ID from the form. Only applicable when Action to perform after Form saved is set to Redirection. | ||||||||||||
More Actions | Include action buttons to be added into the bottom of the form.
Example: When such button is clicked, the form will not be saved. |
Figure 9: CRUD Properties - Advanced
Name | Description |
---|---|
Userview Key Name | Define a column name to pre-filter the datalist against using the userview key value. |
Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/userview/builder/hr_expense_userview
You can configure the Performance settings in this Userview Element which allows one to cache existing content for improved performance and loading speed. Read more at Performance Improvement with Userview Caching.