InputDate is a UIInput component that renders an <input type="text"> element and a calendar popover with selectable dates. The component attempts to automatically convert the submitted value to a Date via a built-in DateTimeConverter.

General Usage

The showOn attribute specifies which events will popup the calendar. When nativeWhenMobile=true (the default), then the component will render an HTML5 <input type="date" /> element on small/mobile displays in order to enable selection of a date with the mobile device's native UI.

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20