[ 
https://issues.apache.org/jira/browse/ISIS-809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood resolved ISIS-809.
------------------------------
    Resolution: Fixed

@ViewModel annotation automatically creates a memento out of any read/write 
properties (so long as not annotated either with @Programmatic  or 
@NonPersistable).

> Provide implementation of ViewModelFacet that doesn't require explicit 
> implementation of the IViewModel interface.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-809
>                 URL: https://issues.apache.org/jira/browse/ISIS-809
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: core-1.5.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: core-1.7.0
>
>
> It ought to be possible just to do this automatically (at least for simple 
> scalars).  That way any non @Persistable pojo will be a view model by default.
> (Oscar takes credit for suggesting this).



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

Reply via email to