TimeSpinner

Table of Contents

Overview

Since 4.0

The mobi:timeSpinner component is used for choosing a time of the day on touch devices.

Getting Started

To start using the TimeSpinner component, place the mobi:timeSpinner tag in a form and bind its value to a property of type Date in a backing bean.

<h:form>
	<mobi:timeSpinner id="time" value="#{bean.time}" />
</h:form>

Attributes

TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.

The value stores the Date object that represents the time selected.

The useNative flag determines if the device's native time picker should be used.

The timeZone attribute specifies the the time zone used in conversions. The value can be a time zone ID string or an instance of java.util.TimeZone. The default value is TimeZone.getDefault().

The pattern specifies the pattern used to display the time, using java.text.SimpleDateFormat.

Event Listeners

None.

Client Behavior Events

change Fired when a change is detected in the selected time.

JavaScript API

None.

Keyboard Support

None.

Known Issues

None.

Additional Resources

Sample Applications

This component appears in the following ICEfaces sample applications:

Tutorials

This component appears in the following ICEfaces tutorials:

None

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2018 ICEsoft Technologies Canada Corp.