[
https://issues.apache.org/jira/browse/ISIS-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-1524:
------------------------------
OK, so I've looked at this, and the short answer is that the MementoService
(which is some rather old code that is used internally by ViewModel) was never
updated to work with java.util.Date.
Looking at the code, though, it seems to just do a toString() of the object to
be added to the memento. For the data types that are supported, this is
unambiguous, but I don't think it would be for a java.util.Date.
Rather than fix/enhance, my suggestion is just to use @XmlRootElement instead.
This will bring in the whole power of JAXB for serialization, so should be much
more robust.
> Dates not showing in view model
> -------------------------------
>
> Key: ISIS-1524
> URL: https://issues.apache.org/jira/browse/ISIS-1524
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.13.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: 1.13.1
>
>
> see mailing list thread started by Steve Cameron
> https://lists.apache.org/thread.html/8da5312cbc0daf406bfa24af18024089d47b7ca5f591002b8447dde9@%3Cusers.isis.apache.org%3E
> and also example app put together by [~jcvanderwal]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)