-
Notifications
You must be signed in to change notification settings - Fork 4
TimeField
Lateef Ojulari edited this page Dec 19, 2019
·
3 revisions
The TimeField is an input field for capturing and displaying time. It has a text area that displays time and a dropdown button by the side with a clock icon. To capture time, a user clicks on the dropdown button which reveals a dropdown window for setting the time components. The user can set hours, minutes and the time period indicator using the corresponding increment and decrement buttons. Clicking on the Set button closes the TimeField dropdown and sets the value of the set time in the control’s text area.
The TimeField component binds to java.util.Date data object. You extract the time components of the Date object using Calendar utilities.
Listing 1: TimeField UPL
!ui-time:frmStartTime
caption:$s{Start Time} binding:startTime
clearable:true
| Name | Required | Type | Description |
|---|---|---|---|
| clearable | false | Boolean | Indicates whether the TimeField value can be cleared. If set to true it enables the 'Clear' button in the TimeField dropdown, otherwise the button is disabled. Defaults to 'false'. |
| buttunImgSrc | false | String | Specifies the image resource to use as the TimeField button icon. Defaults to $t{images/clock.png} |
| required | false | Boolean | Indicates if an input value for this control is required. It is taken into consideration during form validation. Defaults to 'false'. |
- Unify Container
- Unify Component
- Unify Page Language
- Core Components
-
Web Components
-
Basic Widgets
- AssignmentBox
- Button
- CheckBox
- CheckList
- DateField
- DecimalField
- DropdownCheckList
- DynamicField
- FileAttachment
- FileDownload
- FileUpload
- Image
- IntegerField
- Label
- MoneyField
- MultiDynamic
- MultiSelect
- NameField
- PasswordField
- Picture
- Rack
- RadioButtons
- SearchField
- SingleSelect
- Table
- TextArea
- TextField
- TimeField
- WordField
- Container Widgets
- Layout
-
Controllers
- PageController
- ResourceController
- RemoteCallController
- PlainController
-
Basic Widgets