O'Reilly logo

JSF 1.2 Components by Ian Hlavats

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing date and time selection

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

The HtmlInputCalendar ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required