Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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.

TimeField

Listing 1: TimeField UPL

!ui-time:frmStartTime
    caption:$s{Start Time} binding:startTime
    clearable:true

Attributes

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'.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.