Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1299

@ViewModel and @XmlRootElement view models should automatically support isCloneable.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11.1
    • Fix Version/s: 1.12.0
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: