myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Updated: (MYFACES-389) allow inputCalendar to use other date libraries e.g joda
Date Thu, 04 Aug 2005 10:06:37 GMT
     [ ]

Mario Ivankovits updated MYFACES-389:

    Attachment: calendar_tomahawk.diff

the patch

> allow inputCalendar to use other date libraries e.g joda
> --------------------------------------------------------
>          Key: MYFACES-389
>          URL:
>      Project: MyFaces
>         Type: Improvement
>   Components: Tomahawk
>     Versions: Nightly Build
>     Reporter: Mario Ivankovits
>  Attachments: calendar_share.diff, calendar_tomahawk.diff
> This patch allows us to use other date libraries with inputCalendar as long as the date
library knows how to convert itself to a
> So while this is not the best of all possible solutions its the one with a minimum of
code changes.
> The main changes are in HtmlCalendarRenderer:
> *) introduced a new interface (inner interface) DateConverter with one additional method:
> *) if the passed in converter is instanceof DateConverter this method will be used to
get the value-object as
> With these changes I managed to create a converter by wrapping the default (CalendarDateTimeConverter)
converter and convert from/to date/joda-dateTime

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message