Daniel Keir Haywood created ISIS-2408: -----------------------------------------
Summary: Support for RenderedAdjusted facet for datetimes should be pluggable. Key: ISIS-2408 URL: https://issues.apache.org/jira/browse/ISIS-2408 Project: Isis Issue Type: Improvement Components: Isis Core, Isis Viewer Wicket Affects Versions: 2.0.0-M3 Reporter: Daniel Keir Haywood Fix For: 2.0.0-M4 Currently the list of types is hard-coded in IsisConverterLocator It is also inconsistent with the subclasses of ScalarPanelTextFieldDatePickerAbstract and calls to #getAdjustBy(). {code:java} if (java.util.Date.class == correspondingClass) { return _Casts.uncheckedCast(new DateConverterForJavaUtilDate(wicketViewerSettings, adjustBy)); } if (java.sql.Date.class == correspondingClass) { ... } if (org.joda.time.LocalDate.class == correspondingClass) { ... } if (org.joda.time.LocalDateTime.class == correspondingClass) { ... } if (org.joda.time.DateTime.class == correspondingClass) { ... } if (java.sql.Timestamp.class == correspondingClass) { ... } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)