Table of Contents


Since 4.0

The mobi:dateSpinner component is used for choosing a date on touch devices.

Getting Started

To start using the DateSpinner component, place the mobi:dateSpinner tag in a form, bind its value to a property of type Date in a backing bean, and optionally add a date-time converter.

	<mobi:dateSpinner id="date" value="#{}">
		<f:convertDateTime type="date" pattern="yyyy-MM-dd" timeZone="#{bean.timeZone}"/>


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 date selected.

The useNative flag determines if the device's native date 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 pattern specifies the pattern used to display the date, using java.text.SimpleDateFormat.

Event Listeners


Client Behavior Events

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

JavaScript API


Keyboard Support


Known Issues


Additional Resources

Sample Applications

This component appears in the following ICEfaces sample applications:


This component appears in the following ICEfaces tutorials:


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

© Copyright 2021 ICEsoft Technologies Canada Corp.