You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2016/01/24 14:05:39 UTC

[jira] [Created] (ISIS-1299) @ViewModel and @XmlRootElement view models should automatically support isCloneable.

Dan Haywood created ISIS-1299:
---------------------------------

             Summary: @ViewModel and @XmlRootElement view models should automatically support isCloneable.
                 Key: ISIS-1299
                 URL: https://issues.apache.org/jira/browse/ISIS-1299
             Project: Isis
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.11.1
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: 1.12.0


per http://isis.markmail.org/thread/qfexzpfknnue2rnr

QN: Is there another way to automagically implement clone for view models? We are currently using MementoService with
DomainObjectContainer#newViewModelInstance based on the not-yet-released isis-wicket-wizard module.


ANS: At the moment the RecreateableObjectFacet impl for @ViewModel and also @XmlRootElement (1.11.0) return false for isCloneable(), but my thinking is that these could probably transparently support cloning.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)