Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1299

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.11.1
    • 1.12.0
    • Core
    • 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

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: