Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Date Picker extends the capability of a normal text field with a date picker library.日期选择器 使用日期选择器库扩展了普通文本字段的功能。 |
Figure 1: Screenshot highlighting Date Picker obtained from sample Expenses Claim App
图1:突出显示从采样费用声明应用获取的日期选择器的截图
截图来自 Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_claim_entry
Figure 2: Date Picker Properties图2:日期选择器属性
Name | Description | ||
ID | Element ID (By declaring as "date", a corresponding database table column "c_date" will be created) | 元素ID(通过声明为“date”,将创建相应的数据库表列“c_date”) | |
Label | 元素标签显示给最终用户。 | Label | Element Label to be displayed to end user. |
Allow Manual Input | Rather than using the calendar picker, user may key in the date directly if checked.而不是使用日历选择器,用户可以直接键入日期,如果选中。 |
Figure 3: Date Picker Properties - Advanced Options图3:日期选择器属性 - 高级选项
Name | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Default Value | 当没有找到/选择现有值时的默认值。 这里接受哈希变量。例如,您可以键入以下内容 Default Value when there's no existing value found/selected. Hash variable is accepted here. For example, you may key the following
| ||||||||||||
Data Format | In Java date format; e.g., 在Java日期格式; 例如2011年6月1日 的 yyyy-MM-dd for 2011-06-01 | ||||||||||||
Validator | Attach a Validator plugin to validate the input value.附加一个Validator插件来验证输入值。
| ||||||||||||
Start Date Field ID | This option should be used in conjunction of "Set Current Date As".此选项应与“设置当前日期为”结合使用。 | ||||||||||||
End Date Field ID | This option should be used in conjunction of "Set Current Date As".此选项应与“设置当前日期为”结合使用。 | ||||||||||||
Set Current Date As | Choices of:选择: -
| ||||||||||||
Display Format | Please refer to http://docs.jquery.com/UI/Datepicker/formatDate | ||||||||||||
Date Picker Year Range | Range of years to be shown | 要显示的年份范围
| |||||||||||
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". | whenreadonly? | 元素设置为“只读”时,将元素的值显示为纯文本 | ||||||||||
Workflow Variable | 如果表单是工作流程的一部分,则在保存表单时(单击“另存为草稿”或“完成”按钮)。此输入字段中的值将被保存到相应的名为here的工作流程变量中。 | Workflow Variable | If the form is part of a workflow process, upon saving of the form (by clicking on "Save as Draft" or "Complete" button). The value in this input field will be saved into the corresponding workflow variable named here.
|