Project Documentation
Foundation

Description

An input text control for dates.

Screen Shot

inputdate

API

component-family javax.faces.Input
renderer-type org.apache.myfaces.Date
component-class org.apache.myfaces.custom.date.HtmlInputDate
renderer-class org.apache.myfaces.custom.date.HtmlDateRenderer
tag-class org.apache.myfaces.custom.date.HtmlInputDateTag

Usage

<t:inputDate type="{date|time|both|short_time|full}"
                popupCalendar="{true|false}"
                ampm="{true|false}"/>
            

Syntax

<t:inputDate>

type - defines the content type. One of these constants (date | time | both | full | short_time).
popupCalendar - if true the value can be set using a popup inputCalendar component.
ampm - If true, use 12hr times with AM/PM selector; if false, use 24hr time. Default false.

Instructions

see examples/date.jsp for an example!