<h:inputText> tag in the standard JSF HTML tag library, when used with a nested
<f:convertDateTime> tag, can be used to accept arbitrarily formatted date and time information from the user. Many desktop applications, however, offer users a richer set of controls for entering date and time information. If we want to make our web applications more like desktop software, enhancing date/time selection is a good place to start.
The Tomahawk component library includes several powerful components that support date and time selection. The
HtmlInputDate component offers a convenient set of text fields that are mapped to the different components in a date, such as the day, the month, the year, and the time.