You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/02 19:10:34 UTC

[jira] [Commented] (ISIS-809) Provide implementation of ViewModelFacet that doesn't require explicit implementation of the IViewModel interface.

    [ https://issues.apache.org/jira/browse/ISIS-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156766#comment-14156766 ] 

ASF subversion and git services commented on ISIS-809:
------------------------------------------------------

Commit 6d182604564cd121f1f1fa889574dd222b6e5100 in isis's branch refs/heads/master from [~jcvanderwal]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=6d18260 ]

ISIS-809: view models now work for those mapped via JDO to views (ie non-durable persistence types)

@javax.jdo.annotations.PersistenceCapable(
        identityType = IdentityType.NONDURABLE,
        table = "InvoiceSummaryForPropertyDueDate", ... )


> 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)